Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member SuperBaby's Avatar
    Join Date
    Nov 2003
    Location
    Malaysia
    Posts
    306

    Default CPU Overload - How to trace what is responsible?

    Using "top", it shows that our server was heavily overloaded by "Perl". I believe that it is a buggy CGI program. How do I know which file is causing the overloading? Which log file can I trace and what to look for?
    SuperBaby

  2. #2
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    on the "top" itself you will see the name of the program that is taking that resource.

  3. #3
    Member Host4u2's Avatar
    Join Date
    Mar 2002
    Posts
    244

    Default

    via SSH, run "top" (no quotes) and do a SHIFT-P to Sort entries by CPU Usage. Also, via your WHM, look at "Sever Status/CPU/Memory/MySQL Usage" for hints.

  4. #4
    Member sb-host's Avatar
    Join Date
    Apr 2002
    Posts
    8

    Default

    Quote Originally Posted by SuperBaby
    Using "top", it shows that our server was heavily overloaded by "Perl". I believe that it is a buggy CGI program. How do I know which file is causing the overloading? Which log file can I trace and what to look for?
    I had a similar issue last week. Two perl processes kept running, and were consuming the CPU time. The owner was "perl", and there was no trace of it in WHM while looking at the CPU Use page.
    I finally did a "kill - [PID]" and it stopped the process, and it never came back. No ill effects were noted either.
    Glenn
    Last edited by sb-host; 12-09-2004 at 03:10 PM.

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

    Default

    This is what is called "exploit". It is a way of breaking into a system. An exploit takes advantage of a weakness in a system in order to hack it. Exploits are the root of the hacker culture. Hackers gain fame by discovering an exploit. Others gain fame by writing scripts for it. Legions of script-kiddies apply the exploit to millions of systems, whether it makes sense or not. Since people make the same mistakes over-and-over, exploits for very different systems start to look very much like each other. Most exploits can be classified under major categories: buffer overflow, directory climbing, defaults, Denial of Service.

    You need to protect your server and business!
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. server cpu overload HELP!!!
    By soporte in forum Optimization
    Replies: 5
    Last Post: 12-10-2010, 05:23 PM
  2. Weird CPU overload when checking CPU
    By martynh in forum New User Questions
    Replies: 4
    Last Post: 10-06-2009, 11:24 AM
  3. cpu overload
    By mahdionline in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-26-2004, 09:45 AM
  4. Overload CPU
    By speckados in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 01-27-2004, 02:49 PM
  5. CPU Overload
    By metrop in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-18-2003, 08:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube