- 论坛徽章:
- 0
|
php-5.3.3+Nginx-0.8.46,这两天站点进程出现动态页面无法访问,静态html页面可以打开,已经出现3次了。php- fpm.conf规定启动最大为50,pm.max_children = 50,正常情况下只会启动20个php-fpm进程,而动态页面无法访问时,9000端口php-fpm进程无法出现达54个,还出现nginx进程,各位大侠帮忙想想什么原因引起的,感激!
动态页面无法访问时:
#lsof -i:9000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
php-fpm 908 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 1750 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 1807 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 2915 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 4350 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 4364 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
nginx 6314 www 19u IPv4 249037445 TCP web:31203->web:cslistener (ESTABLISHED)
nginx 6314 www 23u IPv4 249039061 TCP web:31244->web:cslistener (ESTABLISHED)
nginx 6314 www 25u IPv4 249037235 TCP web:31195->web:cslistener (ESTABLISHED)
nginx 6314 www 29u IPv4 249036052 TCP web:31161->web:cslistener (ESTABLISHED)
nginx 6314 www 31u IPv4 249033596 TCP web:10775->web:cslistener (ESTABLISHED)
nginx 6314 www 33u IPv4 249039150 TCP web:31247->web:cslistener (ESTABLISHED)
nginx 6314 www 35u IPv4 249037738 TCP web:31208->web:cslistener (ESTABLISHED)
nginx 6314 www 37u IPv4 249038934 TCP web:31241->web:cslistener (ESTABLISHED)
nginx 6314 www 38u IPv4 249034860 TCP web:31123->web:cslistener (ESTABLISHED)
nginx 6314 www 39u IPv4 249037830 TCP web:31211->web:cslistener (ESTABLISHED)
nginx 6314 www 40u IPv4 249038631 TCP web:31229->web:cslistener (ESTABLISHED)
nginx 6314 www 42u IPv4 249037836 TCP web:31212->web:cslistener (ESTABLISHED)
nginx 6314 www 45u IPv4 249037922 TCP web:31214->web:cslistener (ESTABLISHED)
nginx 6314 www 48u IPv4 249039063 TCP web:31245->web:cslistener (ESTABLISHED)
nginx 6314 www 52u IPv4 249038936 TCP web:31242->web:cslistener (ESTABLISHED)
nginx 6314 www 54u IPv4 249035467 TCP web:31140->web:cslistener (ESTABLISHED)
nginx 6314 www 61u IPv4 249037415 TCP web:31201->web:cslistener (ESTABLISHED)
nginx 6314 www 62u IPv4 249038098 TCP web:31219->web:cslistener (ESTABLISHED)
nginx 6314 www 64u IPv4 249038815 TCP web:31236->web:cslistener (ESTABLISHED)
nginx 6314 www 65u IPv4 249034283 TCP web:10792->web:cslistener (ESTABLISHED)
nginx 6314 www 66u IPv4 249034962 TCP web:31129->web:cslistener (ESTABLISHED)
nginx 6314 www 71u IPv4 249039329 TCP web:31252->web:cslistener (ESTABLISHED)
nginx 6314 www 73u IPv4 249033378 TCP web:10770->web:cslistener (ESTABLISHED)
nginx 6314 www 75u IPv4 249033385 TCP web:10772->web:cslistener (ESTABLISHED)
nginx 6314 www 76u IPv4 249034964 TCP web:31130->web:cslistener (ESTABLISHED)
nginx 6314 www 77u IPv4 249036138 TCP web:31162->web:cslistener (ESTABLISHED)
nginx 6314 www 78u IPv4 249038106 TCP web:31222->web:cslistener (ESTABLISHED)
nginx 6314 www 80u IPv4 249039152 TCP web:31248->web:cslistener (ESTABLISHED)
nginx 6314 www 82u IPv4 249039242 TCP web:31250->web:cslistener (ESTABLISHED)
nginx 6314 www 85u IPv4 249037137 TCP web:31191->web:cslistener (ESTABLISHED)
nginx 6314 www 89u IPv4 249036955 TCP web:31188->web:cslistener (ESTABLISHED)
php-fpm 6856 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 7735 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 8318 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 8971 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 9373 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 9518 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 9560 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 11014 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 11494 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 11698 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 13302 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 13952 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 14248 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 18773 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 18773 www 3u IPv4 248805842 TCP web:cslistener->web:30795 (CLOSE_WAIT)
php-fpm 18793 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 18804 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 19183 root 6u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 19497 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 19497 www 3u IPv4 248830934 TCP web:cslistener->web:43102 (CLOSE_WAIT)
php-fpm 19602 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 19602 www 3u IPv4 248830859 TCP web:cslistener->web:43057 (CLOSE_WAIT)
php-fpm 20278 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 20286 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 20688 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 20851 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 20853 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 20857 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 21169 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 21309 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 21499 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 22719 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 22727 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 23206 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 23722 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 23991 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 24059 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 25509 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 26664 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 26691 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 27253 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 30120 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 30151 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 30592 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 30734 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 30828 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 31344 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
php-fpm 31506 www 0u IPv4 240925741 TCP web:cslistener (LISTEN)
正常时:
#lsof -i:9000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
php-fpm 15616 root 6u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21835 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21838 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21851 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21852 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21853 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21854 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21855 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21856 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21857 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21858 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21859 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21860 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21863 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21875 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21876 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21879 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21880 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21881 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21895 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
php-fpm 21896 www 0u IPv4 249041483 TCP web:cslistener (LISTEN)
各位大侠看看什么原因引起的? |
|