Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009

    trace reason for spike load on shared server

    I have a shared server (root access) using Cpanel / Centos with suphp enabled.

    Twice this week the sever's load skyrocketed and was unable to login to trace teh cause, had to reboot instead.

    After reboot, I went to whm > CPU/Memory/MySQL Usage and saw nothing in red aside netstat (21% cpu). I'm not sure if this is the cause, but how can I trace the absolute user or script causing this spike?

  2. #2
    Use top, ps and pstree commands effectively to find the cause of load.
    Here are some known:
    top -s
    ps -auxf
    pstree -aupl

    To get a better view, use lsof command.


  3. #3
    Join Date
    May 2009
    Using top command will still consume a lot of CPU cycles.. Use 'nice top' instead..

  4. #4
    Join Date
    Feb 2008
    Houston, Texas, USA
    Right now, your effort should be focused on getting the box stabilized. Drop your HTTP MaxClients to a reasonable number (maybe 250 or less depending on how much memory you have). Limit the number of emails domains are allowed to send per hour. Follow this guide to understand what happened the last time your server had to be rebooted:

    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe >

Similar Threads

  1. tracing cause of server load spike *after* reboot
    By Chinese Democracy in forum Hosting Security and Technology
    Replies: 4
    Last Post: 04-09-2009, 06:20 PM
  2. Huge spike server load of 192 o.O
    By the_go_453 in forum Hosting Security and Technology
    Replies: 9
    Last Post: 07-10-2007, 01:53 AM
  3. How to trace a network spike?
    By galacnet in forum Hosting Security and Technology
    Replies: 6
    Last Post: 05-27-2006, 03:28 AM
  4. What is causing my server load to spike?
    By tgo149 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 07-20-2004, 09:22 PM
  5. What is this process causing a spike in my server load?
    By tgo149 in forum Hosting Security and Technology
    Replies: 3
    Last Post: 07-06-2004, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts