Current time: 11-16-2024, 06:02 PM Hello There, Guest! (LoginRegister)


Post Reply 
awstats produces high load processes seem to be stuck
Author Message
gilbert Offline
Junior Member
*

Posts: 45
Joined: May 2007
Reputation: 0
Post: #1
awstats produces high load processes seem to be stuck
Hi,

I have noticed that there are many processess running
/bin/sh -c /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl

that seem to be stuck from several days ago.

The load goes sky high on the server until I kill these processes.

Is there anyway to prevent this?
Where should I be looking for the root cause.

I notice that one site seems to get it stuck.
the log file for this domain is 402M
05-01-2009 10:44 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: awstats produces high load processes seem to be stuck
running awstats more often might help clearing this issue...
05-01-2009 11:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
supaplex Offline
Junior Member
*

Posts: 22
Joined: Jan 2009
Reputation: 0
Post: #3
RE: awstats produces high load processes seem to be stuck
How often does it normally run in rc6? Where do you adjust the frequency that it runs?

I recall there being a cool program I once had on a FreeBSD machine that would act like tail, but record the inode and filesize as the new offset to start at. Does awstats cache this information to seek() into between jobs?
05-02-2009 06:20 AM
Find all posts by this user Quote this message in a reply
supaplex Offline
Junior Member
*

Posts: 22
Joined: Jan 2009
Reputation: 0
Post: #4
RE: awstats produces high load processes seem to be stuck
/etc/cron.d/ispcp snippet
Code:
# AWStats
# 15    */6     *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1
# changed on 5/2 due to http://www.isp-control.net/forum/thread-6581.html
15      *       *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1

I guess I will see how this goes.
05-03-2009 05:49 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)