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)
-   -   Logsize issue (http://www.howtoforge.com/forums/showthread.php?t=17028)

cryptic 6th November 2007 19:16

Logsize issue
 
Last week I set the logsize on a site to 5MB, still today the web.log file is 24MB. Any way to fix this or am I just not understanding logsize and how it works?

till 7th November 2007 10:02

Please check your sysleog if you have any cron errors. The logfile size is checked by the script /root/ispconfig/scripts/shell/webalizer.php

cryptic 7th November 2007 19:47

There are no errors. The cron log shows the webalizer.php running as it should.

till 8th November 2007 13:51

I have no other Idea. I added this thread to the bugtracker, maybe there is something wrong with the webalizer.php script. But as far as I can see, it works on my servers.

wpwood3 9th December 2007 20:08

Logsize is a problem
 
I am seeing a problem with web.log size too.
These are the logs located in

/var/www/web2/log/2007/11
/var/www/web2/log/2007/12

My November web.log is 3.8GB
My December log is already 1.5GB

I have logsize set to 5 in ISP Manager but it doesn't seem to matter.

There are no errors in the cron log to indicate a problem with webalizer:
Code:


Dec  9 04:00:01 server1 crond[16814]: (root) CMD (/root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null)


wpwood3 11th December 2007 00:01

I have 2 ISPConfig servers. One is CentOS 5.1 32-bit the other is 64-bit.
Both of them have this logsize problem with web.log.

Is there a patch to fix this?

falko 11th December 2007 15:38

We'll check that - I've added it to our bugtracker.

cryptic 27th December 2007 20:26

This has become a huge issue for us. I just had to delete a 31 GB error.log which brought a site down. Is there anything else that can be done?

wpwood3 28th December 2007 18:27

This is a problem!
 
Quote:

Originally Posted by cryptic
This has become a huge issue for us. I just had to delete a 31 GB error.log which brought a site down. Is there anything else that can be done?

Same here... :mad:

I'm having to monitor log size and manually delete them when they get over 5 GB. My logs are bigger than my webs!

falko 29th December 2007 15:18

We haven't had the time yet to check this, but be assured that we will. :)


All times are GMT +2. The time now is 04:58.

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