Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    69

    Question Need help tracking a process that's eating CPU

    I'm not exactly sure what to make of this process that's eating all available CPU, so I'm hoping someone can shed some light on this:

    According to 'top', the process is listed as:
    27809 nobody 25 0 3632 2268 1916 R 81.9 0.4 169:23 0 perl

    When I press "c" to show the command line, the process shows as:
    27809 nobody 25 0 3632 2268 1916 R 84.1 0.4 174:13 0 [httpd]

    As far as I can tell, this is a perl process that's being run by apache, but I have no idea beyond that. Can anyone shed some light on this, or let me know what I can do to track down the offending process/code/user?

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You should be able to get more information with:

    ps axfwwwwwl
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    Try doing a:

    cat /proc/27809/environ

    That may give you some information

  4. #4
    Member
    Join Date
    Nov 2004
    Posts
    69

    Default

    - Unfortunately cat /proc/27809/environ produced nothing

    - ps axfwwwwwl produced the following about the process:
    Code:
    F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY        TIME COMMAND
    1    99 27809     1  25   0  5712 2292 -      R    ?        240:22 [httpd]
    This doesn't really tell me anything new. Does it explain anything else to you guys? Is there anything else that I can try?

  5. #5
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Try cat /proc/27809/cmdline and ls -l /proc/27809/cwd (second tells you the working directory).

    Then try lsof -p 27809 which will tell you the script it is running, and any other files it has open.

Similar Threads & Tags
Similar threads

  1. Http process won't die off and eating up cpu & ram.
    By gundamz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-02-2008, 10:32 PM
  2. spamd child eating 100% of Cpu help
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 47
    Last Post: 02-05-2008, 03:16 AM
  3. Perl process eating cpu
    By Daemon1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-09-2005, 12:38 PM
  4. 15-25+ of one process...eating memory..
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-22-2004, 08:46 PM
  5. Can't kill process eating 98%. What is it doing?
    By pingo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-04-2004, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube