Go Back   cPanel Forums > General Discussion > cPanel Newbies

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2009, 05:45 AM
Registered User
 
Join Date: Mar 2006
Posts: 127
mehrdad abed is on a distinguished road
cpanellogd runs at Not-Allowed hours

Hi,

I just configured WHM/Server Configuration >> Statistics Software Configuration and checked some hours that "i would like log analysis NOT to be performed."

but i just noticed that my server load gets high on some specific hours and find follwoing processes then :

Code:
root     15479  0.0  0.0   3660  1432 ?        S    01:23   0:00 /usr/bin/perl /scripts/runweblogs mmuser
root     15480  0.0  0.2  18652  9736 ?        S    01:23   0:01 cpanellogd - loading config for mmuser
mmuser 15548  0.0  0.1  18652  7368 ?        S    01:23   0:00 cpanellogd - http logs for mmuser
mmuser 15549  0.0  0.0   1652   412 ?        S    01:23   0:00 /usr/local/cpanel/bin/logrunner 2.0 /usr/local/cpanel/3rdparty/bin/english/webalizer -N 10 -D /home/mmuser/tmp/webalizer/dns_cache.db -R 250 -p -n notshown.com -o /home/mmuser/tmp/webalizer /usr/local/apache/domlogs/notshown.com
mmuser 15550  0.0  0.0   3508  1260 ?        TNs  01:23   0:00 /usr/local/cpanel/3rdparty/bin/english/webalizer -N 10 -D /home/mmuser/tmp/webalizer/dns_cache.db -R 250 -p -n notshown.com -o /home/mmuser/tmp/webalizer /usr/local/apache/domlogs/notshown.com
how could i prevent logrunner not to be performed on pre-defined hours ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-01-2009, 09:48 AM
serversignature's Avatar
Registered User
 
Join Date: Nov 2007
Location: Bangalore
Posts: 94
serversignature is on a distinguished road
This should help you.

Whm --> Tweak Settings

Number of days between processing log files and bandwidth usage -

Enter the number of days between processing log files and bandwidth usage in the adjacent field. Decimal values are allowed.
__________________
Kiran
Serversignature.com
Freelance Linux Admin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-01-2009, 12:14 PM
cPanelDavidG's Avatar
cPanel Sales Support
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,985
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by mehrdad abed View Post
Hi,

I just configured WHM/Server Configuration >> Statistics Software Configuration and checked some hours that "i would like log analysis NOT to be performed."

but i just noticed that my server load gets high on some specific hours and find follwoing processes then :

Code:
root     15479  0.0  0.0   3660  1432 ?        S    01:23   0:00 /usr/bin/perl /scripts/runweblogs mmuser
root     15480  0.0  0.2  18652  9736 ?        S    01:23   0:01 cpanellogd - loading config for mmuser
mmuser 15548  0.0  0.1  18652  7368 ?        S    01:23   0:00 cpanellogd - http logs for mmuser
mmuser 15549  0.0  0.0   1652   412 ?        S    01:23   0:00 /usr/local/cpanel/bin/logrunner 2.0 /usr/local/cpanel/3rdparty/bin/english/webalizer -N 10 -D /home/mmuser/tmp/webalizer/dns_cache.db -R 250 -p -n notshown.com -o /home/mmuser/tmp/webalizer /usr/local/apache/domlogs/notshown.com
mmuser 15550  0.0  0.0   3508  1260 ?        TNs  01:23   0:00 /usr/local/cpanel/3rdparty/bin/english/webalizer -N 10 -D /home/mmuser/tmp/webalizer/dns_cache.db -R 250 -p -n notshown.com -o /home/mmuser/tmp/webalizer /usr/local/apache/domlogs/notshown.com
how could i prevent logrunner not to be performed on pre-defined hours ?
Is it possible that logrunner began its task before the blackout hours and is just completing its task? Or is logrunner beginning to process additional domains during these blackout hours?
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-08-2009, 02:27 PM
Zvi Zvi is offline
Registered User
 
Join Date: Aug 2009
Location: SF Bay
Posts: 5
Zvi is on a distinguished road
I have the same problem:

Running

cPanel 11.24.5-R37946 - WHM 11.24.2 - X 3.9 CENTOS 5.3 i686 virtuozzo

Log is scheduled to run between 2-5am from WHM/Server Configuration >> Statistics Software Configuration. Whm --> Tweak Settings >>Number of days between processing log files = 1
Running on my vps, and the sites aren't even live, so I assume it shouldn't take even 1 hour to analyze the logs.
Server tie is correct, I've checked.

Still, at any given time I have something like this:

root 1960 0.0 0.3 3744 1760 ? SN 10:55 0:00 cpanellogd - waiting for child to process logs
root 3189 0.0 1.3 15476 7004 ? SN 10:55 0:00 cpanellogd - Waiting for proper hour to scan logs.

Anything else I should try?
15mb process just waiting to start working is a bit excessive IMHO, especially when there's another process waiting for something...

Last edited by Zvi; 08-08-2009 at 03:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
logrotate runs for hours asmithjr cPanel and WHM Discussions 0 07-22-2008 06:53 AM
cpanellogd question bsasninja cPanel and WHM Discussions 2 08-24-2007 01:55 PM
cpanellogd errors DigiCrime cPanel and WHM Discussions 1 11-24-2006 11:18 AM
cpanellogd netlook cPanel and WHM Discussions 0 12-06-2004 10:24 AM
Webalizer runs by itself? bluedog cPanel and WHM Discussions 0 05-13-2003 06:11 PM


All times are GMT -5. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc