Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th July 2011, 01:31
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default Handling large log files & cron_daily.sh

Hi

Got a customer running on an ISPConfig server who has a large amount of traffic constantly. This of course causes a huge log buildup that will take time to process.

Is there any chance that cron_daily.sh will be threaded in the future or can handle the traffic differently in smaller chunks?

I'll try with a "nice" value to the crontab but I would appreciate some input on methods to handle this and maintain ISPconfigs functions.
__________________
http://www.xh.se
Reply With Quote
Sponsored Links
  #2  
Old 8th July 2011, 07:57
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

The apache traffic accounting and log handling is not done by cron_daily.sh. The traffic is accounted by vlogger and the log splitting and handling is also done by vlogger, vlogger is a process run by apache and not a cronjob.

The only thing that cron_daily starts is the webalizer or awstats scripts. So I guess that your load is produced by either awstats or webalizer and not cron_daily.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th July 2011, 02:37
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Is there a safe and good method to disable apache logging for a site in ispconfig 3?

10GB daily log files for this apache site isnt good. + 15min processing time that eats user experience at night.
__________________
http://www.xh.se
Reply With Quote
  #4  
Old 18th July 2011, 14:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Looging is handled by one central perl script (vlogger) for all sites, so you can only disable logging for all sites by disabling the log line in the apache ispconfig.conf file but not for a single site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 22nd July 2011, 01:22
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Do I just need to comment out "CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" -d \"/etc/vlogger-dbi.conf\" /var/log/ispconfig/httpd" combined_ispconfig" ?

Thanks once more
__________________
http://www.xh.se
Reply With Quote
  #6  
Old 22nd July 2011, 14:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Yes, that should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
Hacked server Captain Installation/Configuration 8 23rd December 2010 10:39
ISPconfig log files in /var/log todvard Installation/Configuration 4 3rd May 2010 19:07
logs files handling abubin General 3 4th April 2010 11:26
Big client log files Jorem Installation/Configuration 2 13th November 2007 09:52


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


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