The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I have many process

Discussion in 'General Discussion' started by nyanhost, Mar 2, 2014.

  1. nyanhost

    nyanhost Active Member

    Joined:
    Nov 4, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!

    top: 1604 total, 1 running, 1603 sleeping

    I have user with 1 crontab note.
    For 1 crontab note has been created 4 processes.

    ps aux
    Code:
    root     31816  0.0  0.0 142272  1680 ?        S    04:38   0:00 CROND
    root     32570  0.0  0.0   6184   808 ?        Ss   02:54   0:00 jailshell (user000) [32578] ell -c /usr/bin/php /home/user000/file.php
    user000  32578  0.0  0.0   6184   400 ?        S    02:54   0:00 jailshell (user000) [init] hell -c /usr/bin/php /home/user000/file.php
    user000  32580  0.0  0.0 418680 14928 ?        S    02:54   0:00 /usr/bin/php /home/user000/file.php

    I entered "pkill -u UID".
    And received:

    Tasks: 238 total, 2 running, 236 sleeping,


    How I can limit the time their existence? How fix it?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    To clarify, are you concerned with the amount of time it's taking for those cron jobs to finish? If so, try executing the cron jobs manually to see if they complete successfully. You may need to investigate those PHP scripts to see why they are hanging.

    Thank you.
     
  3. nyanhost

    nyanhost Active Member

    Joined:
    Nov 4, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!
    Not! :)

    PHP script has been successfully completed. But processes jailshell & CROND are sleeping in the system...
    It is inconvenient when I have 1600 the sleeping processes.
    May be I can someway to setup the limits for it?

    Thank you.

    Also I am spending 2GB RAM Memory for this processes.

    If I use the /usr/bin/php /blabla/the_script.php in the root console, script completed successfuly. And my process is not sleeping.

    If user use the cronjob "/usr/bin/php /blabla/the_script.php" then script completed successfuly, but jailshell and crond are sleeping...
     
    #3 nyanhost, Mar 3, 2014
    Last edited: Mar 3, 2014
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look to see exactly what you are describing? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. nyanhost

    nyanhost Active Member

    Joined:
    Nov 4, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Okay!

    Thank you, Michael!
     
Loading...

Share This Page