Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member cass's Avatar
    Join Date
    Jul 2002
    Location
    Argentina/USA/Mexico
    Posts
    354

    Default webalizer hangs while processing logs for some user, and runs at 99% cpu or so

    Okey...
    on one busy server I have this problem again and again...
    webalizer just hangs while processing the logs for "x" user, could be one or other... or other...
    on a top, you would see something like:
    4611 username 39 19 336 156 80 R N 95.4 0.0 845:41 2 webalizer

    how to fix this ?
    manually is easy... just killall webalizer
    but then, when run again, it hangs again on same user....
    fix?
    easy...
    just delete the /home/username/tmp/webalizer/dns_cache.db file
    then you can run /scripts/runweblogs for this user to update the logs and it will be okey.

    so, everything okey... but, why does dns_cache gets bad? and why webalizer HANGS due to this ? it puts the server cpu usage very high on some systems, make the load bad.

    is there any FIX for this?
    I mean, something automatic you know, like webalizer dont hang, and deleting the file or fixing it itself... or whatever.

    Anyone ?
    Carlos Ariel Sepúlveda
    CAS company :: 1997-2011, 14 Years! :: Dedicated Attitude
    http://www.cascompany.com :: Providing CPANEL/WHM Servers since 2002 !

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Lightbulb

    The larger the log file to be processed the more cpu intensive the log scripts are going to be. My suggesting is to modify how often the stats run to perhaps 2 - 4 times a day via tweak settings in your WHM.
    Beau Henderson

  3. #3
    Member
    Join Date
    May 2003
    Posts
    25

    Default What is the exact option?

    Hi, what is the exact option in Tweak Settings to tell Cpanel how many times to run stats daily?

    I've checked and can't see anything like it.

    Regards.
    Alexis Bellido
    Ventanazul - web solutions (spanish / english)

Similar Threads & Tags
Similar threads

  1. Logrotates runs for long time and uses 90% of cpu!
    By mike_r in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-21-2004, 04:52 AM
  2. Controlling When Webalizer Runs
    By bleachga in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-23-2004, 12:30 PM
  3. Webalizer Hangs
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-18-2003, 11:59 AM
  4. FTP Logs in Then Hangs
    By PeteC in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-27-2003, 11:12 PM
  5. Webalizer runs by itself?
    By bluedog in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-13-2003, 05:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube