Several php-cgi processes

Discussion in 'Installation/Configuration' started by Nicke, Jul 31, 2009.

  1. Nicke

    Nicke New Member

    Hello,

    I have followed the perfect server setup for Ubuntu.

    I have several php-cgi in top that never closes.
    It consumes a lot of memory and i know for a fact that no one is visiting my sites.
    The process keeps running even when it's not needed anymore.

    I can free up to 200 - 400mb of ram if i reload apache.

    What can i do?
     
    Last edited: Jul 31, 2009
  2. omega13a

    omega13a New Member

    I'm having the same problem on CentOS 5.3 with PHP running as a fast cgi. I do not know what is going on. I tried to reconfigure to use mod php or anything other than fast cgi via ISPConfig and I couldn't. I ended up having to deny access to everyone wanting to visit website because not only was I running low on RAM, the load average shot up to like over 50. :mad:
     
    Last edited: Aug 1, 2009
  3. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    @omega13a

    If you use mod_php for all your sites, then you can not have any php-cgi processes. If you dont provide any mor information, you can not expect that someone is able to help you.

    @Nicke: Please check the access log of your server if there are any unusual pages accesssed. Long running cgi scripts can be a symtom for a hacked website.
     
  4. Nicke

    Nicke New Member

    I cant find anything strange. I run three small webpages.. with some simple php-scripts. Nothing needs to run for so long.

    Right now. Using 834mb ram. 8 processes.
    Restarted apache2 -> 417mb ram used.
     
  5. NeeChee

    NeeChee New Member

    I do not know if what I am going to say next is possible, but ISPconfig runs a cronjob at * * * * * (all the time) which uses a PHP script. I however do not know if this could be the reason, since it uses /usr/bin/php and not php-cgi of course. This however is the only php-script I know for sure to be running all the time and being run all the time as several instances.

    Code:
    sudo crontab -u root -l
    results in output

    Code:
    * * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
    30 00 * * * /usr/local/ispconfig/server/cron_daily.sh > /dev/null 2>> /var/log/ispconfig/cron.log
    
    Server.sh is started every second and starts a phpscript (/usr/local/ispconfig/server/server.php) which updates server configuration and handles your jobqueue. This means this process is being run every second, and therefore a lot of php processes may be running at the same time.

    If this does make any sense, a possible solution could be changing the crontime to once every 10 sec of once every minute. This would result in your jobqueue taking longer to be processed though.
     
    Last edited: Aug 2, 2009
  6. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The script is run once every minute and not once every second. The crontab is based on minutes and not seconds and this is not related to the problem of Nicke.
     
  7. NeeChee

    NeeChee New Member

    Yes, I'm afraid you're quite right about the every minute and not every second... I've got the same problem hence I'm trying to figure out what is going on. I'm just exploring all options. Thanks for ruling it out though.
     
  8. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    If you post the exact "ps -aux" output of these processes we might be able to help you.
     
  9. Nicke

    Nicke New Member

    Code:
    web2      3307  0.0  0.2  56308  4852 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3309  0.0  0.2  56040  4312 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3311  0.0  0.2  56040  4312 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3312  0.0  0.2  56040  4312 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3313  0.0  0.2  56040  4324 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3314  0.0  0.2  56040  4312 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3315  0.0  0.2  56040  4312 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2      3316  0.0  0.2  56040  4316 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     15551  0.0  0.3  55768  8072 ?        Ss   Aug03   0:00 /usr/bin/php-cgi
    web3     16336  0.0  0.2  56380  5116 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16337  0.0  0.2  56408  5072 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16338  0.0  0.2  56264  5008 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16340  0.0  0.2  56408  5036 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16341  0.0  0.2  56408  5048 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16347  0.0  0.2  56408  5052 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16348  0.0  0.2  56408  5044 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web3     16349  0.0  0.2  56408  5040 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23729  0.0  0.3  55768  8072 ?        Ss   Aug03   0:00 /usr/bin/php-cgi
    web5     23792  0.0  0.3  56396  6632 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23795  0.0  0.3  56392  6880 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23796  0.0  0.2  56368  5864 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23798  0.0  0.2  56128  6048 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23799  0.0  0.3  56392  6700 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23800  0.0  0.3  56452  6540 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23801  0.0  0.2  56296  5748 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web5     23802  0.0  0.3  56452  6548 ?        S    Aug03   0:00 /usr/bin/php-cgi
    web2     29865  0.0  0.3  55776  8068 ?        Ss   Aug03   0:00 /usr/bin/php-cgi
    
    web3 uses php but just one script that shows the time on the page. ;-)
    I changed to mod_php now. Hope that helps... but it gives me problems when using .htaccess.
    I want to turn of the browsing capabilities in some directories but mod_php seems to break that.

    I have this in .htaccess: "Options All -Indexes".
    The log gives me [Tue Aug 04 19:09:11 2009] [alert] [client xxx.xxx.xxx.xxx] /var/www/xxxxxx/web/xxxx/.htaccess: Options not allowed here, referer: http://www.xxxxxx.xx/xxxx

    when using mod_php. Works when using fast-cgi.
     
    Last edited: Aug 4, 2009
  10. rukus77

    rukus77 New Member

    I am having same issue on Centos 5.3 Perfect server setup...

    I have 2 Wordpress sites and 2 classifieds sites, both using PHP.

    ps -aux output after a reboot...

    web1 2809 0.0 0.7 58000 8168 ? Ss 15:32 0:00 /usr/bin/php-cgi
    web1 2811 0.2 1.3 61212 13912 ? S 15:32 0:01 /usr/bin/php-cgi
    web1 2812 0.3 1.6 65256 16784 ? S 15:32 0:01 /usr/bin/php-cgi
    web1 2813 0.0 1.2 61164 12532 ? S 15:32 0:00 /usr/bin/php-cgi
    web1 2814 0.3 1.4 62864 14644 ? S 15:32 0:02 /usr/bin/php-cgi
    web1 2815 0.0 1.2 61164 12512 ? S 15:32 0:00 /usr/bin/php-cgi
    web1 2816 0.0 1.2 61400 12904 ? S 15:32 0:00 /usr/bin/php-cgi
    web1 2817 1.0 1.2 61712 12960 ? S 15:32 0:05 /usr/bin/php-cgi
    web1 2818 0.1 1.5 64572 16144 ? S 15:32 0:00 /usr/bin/php-cgi
    web7 3002 0.0 0.7 58000 7624 ? Ss 15:35 0:00 /usr/bin/php-cgi
    web7 3003 0.4 1.6 64692 17088 ? S 15:35 0:01 /usr/bin/php-cgi
    web7 3004 0.0 1.1 60740 11644 ? S 15:35 0:00 /usr/bin/php-cgi
    web7 3005 0.0 1.1 60740 11640 ? S 15:35 0:00 /usr/bin/php-cgi
    web7 3006 0.0 0.2 58000 2688 ? S 15:35 0:00 /usr/bin/php-cgi
    web7 3007 0.0 0.2 58000 2688 ? S 15:35 0:00 /usr/bin/php-cgi
    web7 3008 0.0 0.2 58000 2688 ? S 15:35 0:00 /usr/bin/php-cgi
    web7 3009 0.0 0.2 58000 2688 ? S 15:35 0:00 /usr/bin/php-cgi
    web7 3010 0.0 0.2 58000 2688 ? S 15:35 0:00 /usr/bin/php-cgi
    web20 3064 0.0 0.7 58000 8096 ? Ss 15:36 0:00 /usr/bin/php-cgi
    web20 3065 0.4 1.7 61540 18588 ? S 15:36 0:01 /usr/bin/php-cgi
    web20 3066 0.1 1.5 61272 15548 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3067 0.1 1.7 61968 17664 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3068 0.2 1.6 61696 17232 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3070 0.1 1.5 61316 15664 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3071 0.1 1.5 61540 15884 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3072 0.1 1.8 61716 19512 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3073 0.2 1.5 61272 15568 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3077 0.0 0.7 58000 7620 ? Ss 15:36 0:00 /usr/bin/php-cgi
    web20 3078 0.3 1.7 61536 18204 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3079 0.0 1.3 60652 13512 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3080 0.1 1.3 60648 13648 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3082 0.0 1.3 60632 13596 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3083 0.2 1.6 61580 17504 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3084 0.1 1.6 61300 17480 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3085 0.1 1.5 61340 15864 ? S 15:36 0:00 /usr/bin/php-cgi
    web20 3086 0.0 0.2 58000 2688 ? S 15:36 0:00 /usr/bin/php-cgi

    Any suggestions?

    Thanks,
    Mike
     
  11. robilaur

    robilaur New Member

    As i remember... php-cgi is the fastest php optiont that u can use ... that means whenever the script is visited a new php-cgi process is started. The problem is that when the visitor leaves the site the proces remain active. The best solution for u is to use mod-php in case u dont have a website that needs to be uber fast. Atleast thats my opinion :D
     
  12. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Basically mod_php is as fast as php-fcgi, but mod_php uses less resources. the only drawback is that mod_php runs always under the user www-data and not the user of the website which can cause problems with uploads in cms systems when you do not set the upload folder to chmod 777.
     
  13. rukus77

    rukus77 New Member

    My sites aren't generating high traffic yet, but they are average...

    They run fine for a while, but every now and then they begin to hang and I notice that all mem and swap are maxed out. The only option at that point is to reboot because the console takes so long to respond to commands...

    Sites are running on 3.6GHz Xeon with 1GB of RAM allocated and 2GB swap.

    Are there any recommendations to offset this from happening? Is switching to mod_php the only option?

    Thanks,
    Mike
     
  14. rukus77

    rukus77 New Member

    This is what is currently running after a half day load...

    web20 3348 0.0 0.2 61144 3044 ? S Aug04 0:03 /usr/bin/php-cgi
    web20 3349 0.0 0.2 61304 3064 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 3350 0.0 0.2 61292 3064 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 3351 0.0 0.2 61304 3056 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3354 0.0 0.2 60644 2924 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3355 0.0 0.2 61296 3056 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 3356 0.0 0.2 60644 2924 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3359 0.0 0.2 61300 3056 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3825 0.0 0.2 60652 2976 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3826 0.0 0.3 61604 3108 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 3827 0.0 0.2 61296 3092 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3840 0.0 0.2 61288 3100 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 3841 0.0 0.2 61296 3100 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3842 0.0 0.2 60644 2968 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3843 0.0 0.2 60644 2960 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 3844 0.0 0.2 61300 3092 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5778 0.0 0.6 60648 7120 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5779 0.0 0.5 59924 5940 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5780 0.0 0.4 59188 4716 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5781 0.0 0.3 59440 4052 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5782 0.0 0.3 59048 3752 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5783 0.0 0.4 64088 4640 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 5784 0.0 0.4 71616 4716 ? S Aug04 0:02 /usr/bin/php-cgi
    web31 5785 0.0 0.4 61956 4940 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 5835 0.0 0.6 62436 6412 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 5836 0.0 1.0 62280 10728 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 5837 0.0 0.3 58540 3232 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 5838 0.0 0.3 58540 3208 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 5839 0.0 0.6 62280 7200 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 5840 0.0 0.9 62272 10316 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 5841 0.0 0.6 62440 6272 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 5842 0.0 0.6 62440 6272 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6219 0.0 0.2 60648 2628 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6220 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6221 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6222 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6223 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6224 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6225 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 6226 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6393 0.0 0.5 63040 5292 ? S Aug04 0:01 /usr/bin/php-cgi
    web7 6394 0.0 0.2 58540 2240 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6395 0.0 0.0 58000 872 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6396 0.0 0.2 58540 2168 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6397 0.0 0.2 62112 2828 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6398 0.0 0.4 62292 4304 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6399 0.0 0.0 58000 920 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 6400 0.0 0.0 58000 900 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7149 0.0 0.3 64184 3368 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7150 0.0 0.2 59432 2436 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7151 0.0 0.2 59096 2384 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7152 0.0 0.3 68792 3344 ? S Aug04 0:02 /usr/bin/php-cgi
    web31 7157 0.0 0.2 59112 2528 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7158 0.0 0.3 64216 3392 ? S Aug04 0:01 /usr/bin/php-cgi
    web31 7159 0.0 0.2 58968 2168 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7160 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 7417 0.0 0.6 58000 6816 ? Ss Aug04 0:00 /usr/bin/php-cgi
    web1 7419 0.0 1.5 65492 16196 ? S Aug04 0:11 /usr/bin/php-cgi
    web1 7420 0.0 1.9 69156 20144 ? S Aug04 0:13 /usr/bin/php-cgi
    web1 7421 0.0 1.6 66588 17572 ? S Aug04 0:13 /usr/bin/php-cgi
    web1 7422 0.0 2.0 67220 20872 ? S Aug04 0:12 /usr/bin/php-cgi
    web1 7423 0.0 1.8 66772 19024 ? S Aug04 0:13 /usr/bin/php-cgi
    web1 7424 0.0 1.8 65344 18848 ? S Aug04 0:13 /usr/bin/php-cgi
    web1 7425 0.0 1.8 67168 18844 ? S Aug04 0:11 /usr/bin/php-cgi
    web1 7426 0.0 1.9 66220 20232 ? S Aug04 0:13 /usr/bin/php-cgi
    web7 7503 0.0 0.6 58000 6816 ? Ss Aug04 0:00 /usr/bin/php-cgi
    web7 7504 0.0 1.5 66964 16236 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 7505 0.0 1.8 69340 19196 ? S Aug04 0:04 /usr/bin/php-cgi
    web7 7506 0.0 1.7 66988 18548 ? S Aug04 0:08 /usr/bin/php-cgi
    web7 7507 0.0 2.0 69436 20964 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 7508 0.0 1.9 69364 20400 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 7509 0.0 1.9 69408 20208 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 7510 0.0 1.9 69552 20384 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 7511 0.0 1.9 67016 19780 ? S Aug04 0:05 /usr/bin/php-cgi
    web31 7628 0.0 0.6 58000 6508 ? Ss Aug04 0:00 /usr/bin/php-cgi
    web31 7629 0.0 1.9 71992 20536 ? S Aug04 0:05 /usr/bin/php-cgi
    web31 7630 0.0 1.4 63064 14696 ? S Aug04 0:02 /usr/bin/php-cgi
    web31 7631 0.0 1.3 63764 13536 ? S Aug04 0:02 /usr/bin/php-cgi
    web31 7632 0.0 1.0 60720 11336 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7633 0.0 1.2 64120 12788 ? S Aug04 0:01 /usr/bin/php-cgi
    web31 7634 0.0 1.2 60476 12980 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 7635 0.0 1.1 64092 12048 ? S Aug04 0:01 /usr/bin/php-cgi
    web31 7636 0.0 1.1 63692 11852 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 11393 0.0 0.2 66956 2452 ? S Aug04 0:01 /usr/bin/php-cgi
    web7 11394 0.0 0.2 63252 2492 ? S Aug04 0:01 /usr/bin/php-cgi
    web7 11395 0.0 0.1 58540 1460 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 11396 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 11397 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 11410 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 11411 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 11412 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 12858 0.0 0.7 58000 8096 ? Ss 11:56 0:00 /usr/bin/php-cgi
    web20 12859 0.0 1.7 61388 18392 ? S 11:56 0:04 /usr/bin/php-cgi
    web20 12860 0.0 1.5 61608 16024 ? S 11:56 0:04 /usr/bin/php-cgi
    web20 12861 0.0 1.5 61548 16056 ? S 11:56 0:03 /usr/bin/php-cgi
    web20 12862 0.0 1.5 61612 16208 ? S 11:56 0:03 /usr/bin/php-cgi
    web20 12863 0.0 1.5 61596 16392 ? S 11:56 0:03 /usr/bin/php-cgi
    web20 12865 0.0 1.5 61344 16352 ? S 11:56 0:05 /usr/bin/php-cgi
    web20 12866 0.0 1.5 61632 16108 ? S 11:56 0:05 /usr/bin/php-cgi
    web20 12867 0.0 1.5 61628 16144 ? S 11:56 0:04 /usr/bin/php-cgi
    web31 15233 0.0 0.2 69296 2980 ? S Aug04 0:02 /usr/bin/php-cgi
    web31 15234 0.0 0.2 61528 2472 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15235 0.0 0.2 58968 2416 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15236 0.0 0.2 60240 2608 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15244 0.0 0.2 60444 2804 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15247 0.0 0.3 58948 3448 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15248 0.0 0.3 58924 3948 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15249 0.0 0.3 58924 4036 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15252 0.0 0.2 63732 2536 ? S Aug04 0:02 /usr/bin/php-cgi
    web1 15253 0.0 0.2 62280 2540 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15254 0.0 0.2 60748 2460 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15255 0.0 0.2 60760 2384 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15256 0.0 0.2 60952 2364 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15257 0.0 0.3 64180 3624 ? S Aug04 0:01 /usr/bin/php-cgi
    web31 15258 0.0 0.2 59440 2868 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15259 0.0 0.2 59040 2752 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15260 0.0 0.3 68908 3700 ? S Aug04 0:02 /usr/bin/php-cgi
    web31 15261 0.0 0.2 58964 2468 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15263 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15264 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 15265 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15266 0.0 0.2 58960 2468 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15267 0.0 0.3 59072 3200 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 15268 0.0 0.2 59096 2924 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 16355 0.0 0.5 58000 5580 ? Ss Aug04 0:00 /usr/bin/php-cgi
    web1 16372 0.0 2.0 69416 20708 ? S Aug04 0:13 /usr/bin/php-cgi
    web1 16373 0.0 1.7 65236 17732 ? S Aug04 0:12 /usr/bin/php-cgi
    web1 16374 0.0 1.6 64704 17248 ? S Aug04 0:09 /usr/bin/php-cgi
    web1 16379 0.0 1.6 63968 16644 ? S Aug04 0:11 /usr/bin/php-cgi
    web1 16380 0.0 1.9 67840 19692 ? S Aug04 0:09 /usr/bin/php-cgi
    web1 16381 0.0 1.6 64160 16844 ? S Aug04 0:09 /usr/bin/php-cgi
    web1 16382 0.0 1.9 69360 20184 ? S Aug04 0:13 /usr/bin/php-cgi
    web1 16383 0.0 1.5 64440 16388 ? S Aug04 0:16 /usr/bin/php-cgi
    web7 16713 0.0 0.5 58000 5780 ? Ss Aug04 0:00 /usr/bin/php-cgi
    web7 16714 0.0 1.7 69304 18264 ? S Aug04 0:09 /usr/bin/php-cgi
    web7 16715 0.0 1.7 69316 18140 ? S Aug04 0:09 /usr/bin/php-cgi
    web7 16716 0.0 2.0 68736 21420 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 16717 0.0 2.0 69392 21148 ? S Aug04 0:06 /usr/bin/php-cgi
    web7 16718 0.0 1.7 69276 17772 ? S Aug04 0:07 /usr/bin/php-cgi
    web7 16721 0.0 1.6 67052 17456 ? S Aug04 0:08 /usr/bin/php-cgi
    web7 16722 0.0 1.6 67016 17408 ? S Aug04 0:08 /usr/bin/php-cgi
    web7 16723 0.0 1.7 66996 17832 ? S Aug04 0:06 /usr/bin/php-cgi
    web1 23410 0.0 0.7 58000 8092 ? Ss 06:06 0:00 /usr/bin/php-cgi
    web1 23417 0.0 1.6 64684 16660 ? S 06:06 0:05 /usr/bin/php-cgi
    web1 23418 0.0 1.8 67144 18920 ? S 06:06 0:03 /usr/bin/php-cgi
    web1 23419 0.0 2.2 68708 22780 ? S 06:06 0:07 /usr/bin/php-cgi
    web1 23420 0.0 1.6 64960 17408 ? S 06:06 0:04 /usr/bin/php-cgi
    web1 23421 0.0 1.5 64116 15904 ? S 06:06 0:05 /usr/bin/php-cgi
    web1 23422 0.0 1.4 62808 14996 ? S 06:06 0:01 /usr/bin/php-cgi
    web1 23423 0.0 1.5 63792 16048 ? S 06:06 0:04 /usr/bin/php-cgi
    web1 23424 0.0 1.8 66380 19492 ? S 06:06 0:07 /usr/bin/php-cgi
    web20 24259 0.0 0.2 60652 2996 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 24261 0.0 0.2 61148 3060 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 24262 0.0 0.3 61268 3256 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 24263 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 24264 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 24265 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 24266 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 24267 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24315 0.0 0.2 60652 2512 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24316 0.0 0.2 59960 3088 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24317 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24318 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24319 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24320 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24321 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24322 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24376 0.0 0.2 62468 2496 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24377 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24378 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24379 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24380 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24381 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24382 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24383 0.0 0.0 58000 152 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24457 0.0 0.2 60484 2752 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24458 0.0 0.2 60180 2508 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24459 0.0 0.2 59468 2724 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24460 0.0 0.2 59440 2848 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24461 0.0 0.2 59156 2752 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24462 0.0 0.2 59052 2672 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24463 0.0 0.2 59052 2672 ? S Aug04 0:00 /usr/bin/php-cgi
    web31 24464 0.0 0.1 58540 1424 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24607 0.0 0.2 61412 2836 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24608 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24609 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24610 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24611 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24612 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24613 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 24614 0.0 0.0 58000 316 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24736 0.0 0.6 64836 6828 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 24737 0.0 0.2 62280 2760 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24738 0.0 0.2 58540 2080 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24739 0.0 0.1 58540 2056 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24740 0.0 0.2 60748 2720 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24741 0.0 0.1 58540 2056 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24742 0.0 0.0 58000 772 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24743 0.0 0.0 58000 772 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24846 0.0 0.1 58540 1796 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24847 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24848 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24849 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24850 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24851 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24852 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 24853 0.0 0.0 58000 320 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 25105 0.0 0.2 67404 2556 ? S Aug04 0:01 /usr/bin/php-cgi
    web7 25106 0.0 0.2 67000 2552 ? S Aug04 0:02 /usr/bin/php-cgi
    web7 25107 0.0 0.1 58540 1464 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 25108 0.0 0.1 58540 1440 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 25109 0.0 0.2 62248 2540 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 25110 0.0 0.3 61076 3300 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 25111 0.0 0.2 62476 2496 ? S Aug04 0:00 /usr/bin/php-cgi
    web7 25112 0.0 0.1 58540 1440 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 25259 0.0 0.2 61596 2724 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 25260 0.0 0.2 61304 2708 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 25261 0.0 0.2 61544 2716 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 25262 0.0 0.2 61288 2716 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 25264 0.0 0.2 61280 2716 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 25265 0.0 0.2 60644 2576 ? S Aug04 0:00 /usr/bin/php-cgi
    web20 25266 0.0 0.2 61152 2688 ? S Aug04 0:01 /usr/bin/php-cgi
    web20 25267 0.0 0.2 61296 2708 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 25283 0.0 0.2 63024 2900 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 25284 0.0 0.2 61896 2912 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 25285 0.0 0.2 63296 2912 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 25286 0.0 0.2 63112 2792 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 25287 0.0 0.2 63736 2932 ? S Aug04 0:01 /usr/bin/php-cgi
    web1 25288 0.0 0.2 62108 2916 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 25289 0.0 0.3 61764 3148 ? S Aug04 0:00 /usr/bin/php-cgi
    web1 25290 0.0 0.2 65108 2924 ? S Aug04 0:01 /usr/bin/php-cgi
    root 29737 0.0 0.0 3912 668 pts/1 R+ 16:10 0:00 grep php-cgi
    web20 31805 0.0 0.7 58000 8084 ? Ss 13:23 0:00 /usr/bin/php-cgi
    web20 31806 0.0 1.8 61560 18640 ? S 13:23 0:02 /usr/bin/php-cgi
    web20 31807 0.0 1.5 61604 15948 ? S 13:23 0:01 /usr/bin/php-cgi
    web20 31808 0.0 1.5 61560 15968 ? S 13:23 0:01 /usr/bin/php-cgi
    web20 31809 0.0 1.5 61424 15780 ? S 13:23 0:01 /usr/bin/php-cgi
    web20 31810 0.0 1.5 61360 15856 ? S 13:23 0:01 /usr/bin/php-cgi
    web20 31813 0.0 1.5 61276 15684 ? S 13:23 0:00 /usr/bin/php-cgi
    web20 31814 0.0 1.5 61584 15952 ? S 13:23 0:01 /usr/bin/php-cgi
    web20 31815 0.0 1.5 61540 15956 ? S 13:23 0:01 /usr/bin/php-cgi
    web31 32510 0.0 0.5 58000 5576 ? Ss 10:18 0:00 /usr/bin/php-cgi
    web31 32511 0.0 1.2 68892 12432 ? S 10:18 0:01 /usr/bin/php-cgi
    web31 32512 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
    web31 32513 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
    web31 32514 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
    web31 32515 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
    web31 32516 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
    web31 32517 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
    web31 32518 0.0 0.0 58000 300 ? S 10:18 0:00 /usr/bin/php-cgi
     

Share This Page