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.

trace cause of excesive httpd tasks?

Discussion in 'General Discussion' started by Zion Ahead, Feb 6, 2010.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    How do I proporly trace the user/script causing many httpd tasks?

    See screenshot.

    root@server [~]# ps aux | grep -c httpd
    141

    I do have suPHP enabled, PHP 5.2.1.2

    Code:
    root@server [~]# ps -u nobody
      PID TTY          TIME CMD
    28576 ?        00:00:03 httpd
    28579 ?        00:00:02 httpd
    28586 ?        00:00:02 httpd
    28592 ?        00:00:02 httpd
    28598 ?        00:00:02 httpd
    28600 ?        00:00:03 httpd
    28612 ?        00:00:02 httpd
    28619 ?        00:00:02 httpd
    28624 ?        00:00:02 httpd
    28636 ?        00:00:02 httpd
    28637 ?        00:00:02 httpd
    28653 ?        00:00:02 httpd
    28669 ?        00:00:02 httpd
    28673 ?        00:00:02 httpd
    28686 ?        00:00:02 httpd
    28687 ?        00:00:02 httpd
    28691 ?        00:00:02 httpd
    28693 ?        00:00:01 httpd
    28696 ?        00:00:02 httpd
    28709 ?        00:00:02 httpd
    28710 ?        00:00:03 httpd
    28718 ?        00:00:02 httpd
    28730 ?        00:00:02 httpd
    28731 ?        00:00:02 httpd
    28732 ?        00:00:02 httpd
    28736 ?        00:00:02 httpd
    28742 ?        00:00:02 httpd
    28745 ?        00:00:02 httpd
    28859 ?        00:00:02 httpd
    28990 ?        00:00:02 httpd
    28997 ?        00:00:02 httpd
    29012 ?        00:00:01 httpd
    29083 ?        00:00:01 httpd
    29085 ?        00:00:02 httpd
    29087 ?        00:00:01 httpd
    29089 ?        00:00:01 httpd
    29101 ?        00:00:01 httpd
    29104 ?        00:00:01 httpd
    29108 ?        00:00:02 httpd
    29109 ?        00:00:02 httpd
    29110 ?        00:00:01 httpd
    29133 ?        00:00:01 httpd
    29144 ?        00:00:01 httpd
    29200 ?        00:00:01 httpd
    29250 ?        00:00:01 httpd
    29256 ?        00:00:01 httpd
    29259 ?        00:00:01 httpd
    29262 ?        00:00:01 httpd
    29263 ?        00:00:01 httpd
    29264 ?        00:00:01 httpd
    29265 ?        00:00:01 httpd
    29268 ?        00:00:01 httpd
    29271 ?        00:00:02 httpd
    29272 ?        00:00:01 httpd
    29273 ?        00:00:01 httpd
    29274 ?        00:00:01 httpd
    29276 ?        00:00:01 httpd
    29281 ?        00:00:01 httpd
    29296 ?        00:00:01 httpd
    29338 ?        00:00:01 httpd
    29348 ?        00:00:01 httpd
    29349 ?        00:00:01 httpd
    29351 ?        00:00:01 httpd
    29373 ?        00:00:01 httpd
    29378 ?        00:00:01 httpd
    29379 ?        00:00:01 httpd
    29407 ?        00:00:01 httpd
    29467 ?        00:00:01 httpd
    29520 ?        00:00:01 httpd
    29536 ?        00:00:01 httpd
    29537 ?        00:00:01 httpd
    29542 ?        00:00:01 httpd
    29543 ?        00:00:01 httpd
    29544 ?        00:00:01 httpd
    29546 ?        00:00:01 httpd
    29578 ?        00:00:01 httpd
    29585 ?        00:00:01 httpd
    29591 ?        00:00:01 httpd
    29635 ?        00:00:01 httpd
    29637 ?        00:00:01 httpd
    29640 ?        00:00:01 httpd
    29642 ?        00:00:01 httpd
    29643 ?        00:00:01 httpd
    29653 ?        00:00:01 httpd
    29656 ?        00:00:01 httpd
    29657 ?        00:00:00 httpd
    29659 ?        00:00:00 httpd
    29660 ?        00:00:00 httpd
    29837 ?        00:00:01 httpd
    29841 ?        00:00:01 httpd
    29872 ?        00:00:01 httpd
    29875 ?        00:00:00 httpd
    29876 ?        00:00:00 httpd
    29885 ?        00:00:00 httpd <defunct>
    29886 ?        00:00:00 httpd
    29892 ?        00:00:00 httpd
    29893 ?        00:00:00 httpd
    29896 ?        00:00:00 httpd
    29897 ?        00:00:00 httpd
    29898 ?        00:00:00 httpd
    29899 ?        00:00:01 httpd
    29910 ?        00:00:01 httpd
    29939 ?        00:00:00 httpd
    29940 ?        00:00:00 httpd
    29977 ?        00:00:00 httpd
    29979 ?        00:00:00 httpd
    29980 ?        00:00:00 httpd
    30022 ?        00:00:00 httpd
    30028 ?        00:00:00 httpd
    30038 ?        00:00:00 httpd
    30042 ?        00:00:00 httpd
    30043 ?        00:00:00 httpd
    30050 ?        00:00:00 httpd
    30051 ?        00:00:00 httpd
    30053 ?        00:00:00 httpd
    30055 ?        00:00:00 httpd
    30057 ?        00:00:00 httpd
    30059 ?        00:00:00 httpd
    30064 ?        00:00:00 httpd
    30065 ?        00:00:00 httpd
    30066 ?        00:00:00 httpd
    30067 ?        00:00:00 httpd
    30068 ?        00:00:00 httpd
    30075 ?        00:00:00 httpd
    30080 ?        00:00:00 httpd
    30081 ?        00:00:00 httpd
    30089 ?        00:00:00 httpd
    30094 ?        00:00:00 httpd
    30099 ?        00:00:00 httpd
    30100 ?        00:00:00 httpd
    30105 ?        00:00:00 httpd
    30106 ?        00:00:00 httpd
    30107 ?        00:00:00 httpd
    30108 ?        00:00:00 httpd
    30114 ?        00:00:00 httpd
    30118 ?        00:00:00 httpd
    30119 ?        00:00:00 httpd
    30137 ?        00:00:00 httpd
    30142 ?        00:00:00 httpd
    30143 ?        00:00:00 httpd
    30145 ?        00:00:00 httpd
    30146 ?        00:00:00 httpd
    30147 ?        00:00:00 httpd
    30148 ?        00:00:00 httpd
    30150 ?        00:00:00 httpd
    30151 ?        00:00:00 httpd
    30152 ?        00:00:00 httpd
    30153 ?        00:00:00 httpd
    30154 ?        00:00:00 httpd
    30155 ?        00:00:00 httpd
    30156 ?        00:00:00 httpd
    30157 ?        00:00:00 httpd
    30161 ?        00:00:00 httpd
    30162 ?        00:00:00 httpd
    30163 ?        00:00:00 httpd
    30164 ?        00:00:00 httpd
    30166 ?        00:00:00 httpd
    30167 ?        00:00:00 httpd
    30168 ?        00:00:00 httpd
    30169 ?        00:00:00 httpd
    30171 ?        00:00:00 httpd
    30172 ?        00:00:00 httpd
    30173 ?        00:00:00 httpd
    30174 ?        00:00:00 httpd
    30175 ?        00:00:00 httpd
    30177 ?        00:00:00 httpd
    30190 ?        00:00:00 httpd
    30227 ?        00:00:00 httpd
    30252 ?        00:00:00 httpd
    30280 ?        00:00:00 httpd
    30283 ?        00:00:00 httpd
    30285 ?        00:00:00 httpd
    30293 ?        00:00:00 httpd
    30296 ?        00:00:00 httpd
    30297 ?        00:00:00 httpd
     

    Attached Files:

  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    WHM >> "Apache Status" should show you the exact domain name and the script. I would have enabled SuPHP on the server which executes the processes under the ownership of the user instead of nobody and makes it easy to locate the exact script causing issues just by executing

     
  3. Monie

    Monie Member

    Joined:
    Jan 1, 2009
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Do you have eAccelerator installed?
     
Loading...

Share This Page