Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Out of control apache/php processes

Discussion in 'EasyApache' started by Eli L, Feb 26, 2010.

  1. Eli L

    Eli L Well-Known Member

    Joined:
    Aug 9, 2007
    Messages:
    61
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Bellingham, Washington, United States
    cPanel Access Level:
    Root Administrator
    If you look at the attachment with the process list you will see a whole bunch of process that look like:

    Code:
    nobody   13125  0.0  0.3 125372 32216 ?        S    05:56   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    chetzu   13844  2.1  0.0      0     0 ?        Z    05:57   0:00  |   \_ [php] <defunct>
    
    All these processes are a problem to the server and I dont know how to prevent this from happening. Does anyone know how to prevent this?

    Thank you!
     

    Attached Files:

    • ps.txt
      File size:
      45.7 KB
      Views:
      160
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ManojB

    ManojB Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    pune
    There are too many php defunct process, I would suggest you to update php version.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    168
    Hi there,

    How is your PHP set up to run? Are you using su_PHP, dso or cgi?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Eli L

    Eli L Well-Known Member

    Joined:
    Aug 9, 2007
    Messages:
    61
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Bellingham, Washington, United States
    cPanel Access Level:
    Root Administrator
    Hey,

    I'm using the latest PHP 5.2.x with suphp.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    Same problem here, happens occasionally, and http requests stop being handled.

    Code:
    [snip]
    username1  4737  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4730  0.0  0.1  15196  6372 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4732  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4731  0.0  0.1  15196  6364 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4734  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4735  0.0  0.1  15196  6364 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4736  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4745  0.0  0.1  15196  6372 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4746  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4747  0.0  0.1  15196  6368 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4750  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4748  0.0  0.1  15196  6368 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4751  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4762  0.0  0.1  15196  6364 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4763  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4764  0.0  0.1  15196  6364 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4767  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4768  0.0  0.1  15196  6356 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4769  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4788  0.0  0.1  15196  6364 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4791  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4789  0.0  0.1  15196  6368 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4792  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4790  0.0  0.1  15196  6364 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4795  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    4793  0.0  0.1  15196  6408 ?        S    11:10   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  4796  0.0  0.0      0     0 ?        Z    11:10   0:00  |   \_ [php] <defunct>
    nobody    5110  0.0  0.1  15196  6436 ?        S    11:11   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5627  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5183  0.0  0.1  15196  6428 ?        S    11:11   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5642  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5483  0.0  0.1  15196  6500 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5630  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5488  0.0  0.1  15192  6436 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5631  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5489  0.0  0.1  15196  6408 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5671  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5498  0.0  0.1  15192  6468 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5605  0.1  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5499  0.0  0.1  15192  6416 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5629  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5500  0.0  0.1  15196  6416 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5680  0.0  0.0      0     0 ?        Z    11:13   0:00  |   \_ [php] <defunct>
    nobody    5501  0.0  0.1  15192  6480 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5632  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5635  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5636  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5638  0.0  0.1  15196  6368 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5640  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5639  0.0  0.1  15196  6368 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5641  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5645  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5646  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5647  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5648  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5649  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5650  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5651  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5652  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5654  0.0  0.1  15196  6368 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5657  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5655  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5658  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5656  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5668  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5659  0.0  0.1  15196  6368 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5660  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5661  0.0  0.1  15196  6332 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5662  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5663  0.0  0.1  15196  6368 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5664  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5665  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5666  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5667  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5669  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5672  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5674  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    nobody    5673  0.0  0.1  15196  6372 ?        S    11:12   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  5675  0.0  0.0      0     0 ?        Z    11:12   0:00  |   \_ [php] <defunct>
    root      5804  0.0  0.1   8036  4892 ?        S    11:13   0:00  \_ /usr/local/cpanel/bin/leechprotect
    root      5812  0.0  0.1  14924  4804 ?        S    11:13   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    nobody    6518  0.0  0.1  15196  6368 ?        S    11:16   0:00  \_ /usr/local/apache/bin/httpd -k start -DSSL
    username1  6519  0.2  0.0      0     0 ?        Z    11:16   0:00      \_ [php] <defunct>
    
    PHP 5.3.2 (cli) (built: Mar 14 2010 20:58:31)
    with suPHP


    Any ideas?
     
  6. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    166
    i have the same problem but i use php 5.2.13 and suphp
     
  7. darkelder

    darkelder Well-Known Member

    Joined:
    Oct 8, 2004
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    156
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice