Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    6

    Default How do I find out what processes were causing high load?

    Hi,

    I've just had a situation where a server became unreachable and had to be hard rebooted due to excessive load.

    What tool could I use to find out what user / process was causing the load, or, could you please recommend any monitoring software I could install to alert me in the future?

    Thanks for your help!

    - Nick

  2. #2
    Member
    Join Date
    Oct 2007
    Posts
    7

    Default

    Try using top command

    -----------
    Blessen
    Your Server management Company

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by mcoms View Post
    What tool could I use to find out what user / process was causing the load, or, could you please recommend any monitoring software I could install to alert me in the future?
    This topic has been discussed many times in these forums. Search these forums using the phrase "high load", and just to mention a few: http://forums.cpanel.net/showthread.php?t=71786
    http://forums.cpanel.net/showthread.php?t=67731
    http://forums.cpanel.net/showthread.php?t=49110
    Something causing high load
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  4. #4
    Member
    Join Date
    Jun 2004
    Posts
    6

    Default

    blessenonly, thanks for your reply, however top will only help me if I can log in at the time of high load, not after the event.

    ServerTune, thanks for the links, though not one of them discusses finding out what was causing load in the past.

    Perhaps I should make my question clearer... A machine becomes unavailable due to high load and is rebooted. How, in the aftermath, do I find out what happened?

    Cheers,
    - Nick

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by mcoms View Post
    Perhaps I should make my question clearer... A machine becomes unavailable due to high load and is rebooted. How, in the aftermath, do I find out what happened?
    "That's the $64,000 question" This article will explain why: http://servertune.com/kbase/entry/67/
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    sorry but andy, that was just a shameless plug, most people tend to know what possible causes of high load are, but this guy is asking how he looks around to find out what the cause was, nothing to do with the response you posted.

    first place to start is /var/log/messages

    look there for kernel panics/hardware warnings etc

    also check for similar items in: dmesg
    (type that at the shell)

    check your exim logs for any mass of e-mail traffic, and check the output of ps aux just to make sure you have no rogue processes running

    sometimes (although very rarely) the cpu/memory usage thing in WHM will give you a pointer (bare in mind though that it probably isnt accurate - just gives you some ideas of where to look)

    If you have one, it will be worth looking at the process list when this happens, via a serial console, KVMoIP or DRAC
    Last edited by nickp666; 10-17-2007 at 11:01 AM.

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    23

    Default

    Quote Originally Posted by mcoms View Post
    Perhaps I should make my question clearer... A machine becomes unavailable due to high load and is rebooted. How, in the aftermath, do I find out what happened?

    Cheers,
    - Nick

    If the server's load is spiking on a particular time everyday, the best option is to login to server before that and find the process causing issue using the
    top -c command

Similar Threads & Tags
Similar threads

  1. Following Processes causing load on the server..plz Help.
    By rajguru in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-09-2011, 11:26 PM
  2. How to find extension in Joomla! causing high load?
    By sc00zy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-18-2008, 09:28 AM
  3. Something causing high load
    By hm2k in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 03-04-2008, 03:38 PM
  4. high cpu and time processes... load average high
    By alexd in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-20-2004, 03:50 AM
  5. Load out of control, can't find what's causing it...
    By fikse in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-18-2004, 08:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube