Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    21

    Default How to identify process owner / control resource intensive process

    Hi, the server's load has increase this few last days.

    When i go to process manager, this entry is always the first one :
    16827 (Trace) (Kill) 32006 0
    96.2 0.3 /var/cpanel/3rdparty/bin/php -c /usr/local/cpanel/3rdparty/etc/roundcube /usr/local/cpanel/base/3rdparty/roundcube/index.php

    This process by owner 32006 is using 96.2% cpu.
    How can i really identify whats going on here?

    We have other servers besides the one with the problem, and the others doesnt have this issue.

    TNX!

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Re: How to identify process owner / control resource intensive process

    Quote Originally Posted by rebouy View Post
    Hi, the server's load has increase this few last days.

    When i go to process manager, this entry is always the first one :
    16827 (Trace) (Kill) 32006 0
    96.2 0.3 /var/cpanel/3rdparty/bin/php -c /usr/local/cpanel/3rdparty/etc/roundcube /usr/local/cpanel/base/3rdparty/roundcube/index.php

    This process by owner 32006 is using 96.2% cpu.
    How can i really identify whats going on here?

    We have other servers besides the one with the problem, and the others doesnt have this issue.

    TNX!
    Roundcube processes should be relatively short-lived and not run for several hours. Do you see the same process ID displayed for several hours, or does the process ID change upon subsequent status checks when viewing running processes at a later time? For reference, the process ID (PID) is displayed on the left at the start or beginning of the line.

    If you would like to see which users are accessing Roundcube, you may use the following command via root SSH access to search the cPanel access_log:
    Code:
    # egrep "GET (/cpsess[0-9]+)?/3rdparty/roundcube/\?.* HTTP/1.[01]" /usr/local/cpanel/logs/access_log
    Are any "webmaild" processes running? The following commands should list any that may be running along with the IP address of the user connected:
    Code:
    # pgrep -l -f webmaild
    Please let us know your cPanel&WHM version and Roundcube version; these can be obtained using the following command via root SSH access:
    Code:
    # grep -H '' /usr/local/cpanel/version /var/cpanel/roundcube/version

  3. #3
    Member
    Join Date
    Sep 2010
    Posts
    21

    Default Re: How to identify process owner / control resource intensive process

    It was running for several hours. i just checked and is the same pid as my first post. 16827.

    Yes, there are several webmaild processes running

    /usr/local/cpanel/version:11.28.64-RELEASE_51024
    /var/cpanel/roundcube/version:0.4.2.cp3

    This only happens in 1 of our servers, the rest is fine. Also it started a just few days ago.

    According to the process log, it started on 12-23-2010 and since this day this process is responsible for 10% of the daily cpu load.

    This is a closed server, we havent add any new accounts to it in quite a long time. Normal avg load was around 1.5 - 2.0 at peek hours, now its 2.0 - 4.0 at any give time.

  4. #4
    Member
    Join Date
    Sep 2010
    Posts
    21

    Default Re: How to identify process owner / control resource intensive process

    Is it ok to just kill the process and restart apache?

    How can we prevent same thing to keep happenin?

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Re: How to identify process owner / control resource intensive process

    Quote Originally Posted by rebouy View Post
    It was running for several hours. i just checked and is the same pid as my first post. 16827.

    Yes, there are several webmaild processes running

    /usr/local/cpanel/version:11.28.64-RELEASE_51024
    /var/cpanel/roundcube/version:0.4.2.cp3

    This only happens in 1 of our servers, the rest is fine. Also it started a just few days ago.

    According to the process log, it started on 12-23-2010 and since this day this process is responsible for 10% of the daily cpu load.

    This is a closed server, we havent add any new accounts to it in quite a long time. Normal avg load was around 1.5 - 2.0 at peek hours, now its 2.0 - 4.0 at any give time.
    Quote Originally Posted by rebouy View Post
    Is it ok to just kill the process and restart apache?

    How can we prevent same thing to keep happenin?
    It is OK to kill the Roundcube process(es); however, please note that restarting Apache is not necessary as Roundcube is not being served from Apache/httpd.

    Was it just one (1) Roundcube process that was running for several days, or are there multiple Roundcube processes that run for several days? If, after killing the Roundcube process(es), the problem recurs again then I would consider submitting a support request.

Similar Threads & Tags
Similar threads

  1. How to identify process owner / control resource intensive process
    By rebouy in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-07-2011, 07:34 AM
  2. Set Directory Owner Same As Process Owner
    By xxkylexx in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-21-2006, 01:22 PM
  3. Real-time Process Resource Monitor
    By nat in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-13-2006, 11:17 PM
  4. process resource monitor crashing Apache
    By laborspy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-28-2004, 03:32 PM
  5. killall by process owner
    By s3kk3y in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-20-2003, 04:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube