HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   ispconfig/temp Gigs of files (http://www.howtoforge.com/forums/showthread.php?t=2941)

bwrob 7th March 2006 04:31

ispconfig/temp Gigs of files
 
Hi
How to prevent ispconfig of filling up
ispconfig/temp with gigs of files.
I am tired of deleting it manually.

thanks
bob

till 7th March 2006 07:54

Which files are in there? Pease post the ouput of "ls -l" from the temp directory.

bwrob 9th March 2006 00:39

till
is in the dir:
/home/admispconfig/ispconfig/temp

How i got to it server went down to 50% full.
I start searching and got to above dir.
Delated all file, server went down to 12%

Once a day i delate files with looong number from that dir.
Gigs virtually gigs of i think backup data.
I read it somewhere that is ok to delate those files.

I would like to prevent it from formating at all.
I might to rename that temp dir and see what is going to happen.

thanks
bob

till 9th March 2006 08:10

Quote:

Originally Posted by bwrob
I might to rename that temp dir and see what is going to happen.

Dont do that if you wont break your server!

Please post some names of the files that where created there.

bwrob 9th March 2006 16:41

OK today ls -l of temp dir server:
/home/admispconfig/ispconfig/temp #
ls -l total 2099212
drwxr-xr-x 2 admispconfig admispconfig 4096 Mar 9 02:16 .
drwxr-xr-x 8 admispconfig admispconfig 4096 Mar 9 07:26 ..
-rw-r--r-- 1 root root 2147483647 Mar 9 02:14 zilKQJAS

file name: zilKQJAS
Size in Gigs

bob

falko 9th March 2006 19:24

You can remove that file. What'S the output of
Code:

crontab -l
?

bwrob 9th March 2006 22:14

crontab -l
# update time with ntp server
# 0 3,9,15,21 * * * /usr/sbin/netdate 128.2.136.71 no email below
0 3,9,15,21 * * * /usr/sbin/netdate tcp 128.2.136.71 >/dev/null 2>&1
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/nullserver:/
#

falko 9th March 2006 22:51

Run
Code:

crontab -e
and comment out this line:
Code:

#05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null

bwrob 10th March 2006 02:10

I a kind thought that could be this.

Done
Thanks

till 10th March 2006 09:05

We will check why the script does not clean up the temp directory correctly.


All times are GMT +2. The time now is 08:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.