- 论坛徽章:
- 0
|
以下是网络连接,9000端口运行的是php-fpm,81端口运行的是主站,80端口开启了缓存。
看连接发现,连接到9000和81的连接都非常多,却不知是啥原因引起的,有没有可能是哪里没设置好,连接没及时释放?
netstat -ntulpa|grep '127.0.0.1'
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2734/hpiod
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 2750/snmpd
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 509/php-fpm: pool w
tcp 0 0 127.0.0.1:9000 127.0.0.1:51308 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52559 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52766 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52428 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51770 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52437 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51253 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51259 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52836 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51977 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51668 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51483 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51402 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51344 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52748 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51298 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52455 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52485 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51643 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52679 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52216 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52477 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51364 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51563 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52232 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51429 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52822 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52220 SYN_RECV -
tcp 0 0 127.0.0.1:9000 127.0.0.1:52654 SYN_RECV -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2772/cupsd
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 22506/2
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 2739/python
tcp 0 0 127.0.0.1:81 127.0.0.1:55809 ESTABLISHED 2654/nginx: worker
tcp 0 0 127.0.0.1:81 127.0.0.1:55812 ESTABLISHED 2654/nginx: worker
tcp 697 0 127.0.0.1:9000 127.0.0.1:52775 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52006 CLOSE_WAIT 4629/php-fpm: pool
tcp 720 0 127.0.0.1:9000 127.0.0.1:52773 ESTABLISHED -
tcp 729 0 127.0.0.1:9000 127.0.0.1:52517 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52011 CLOSE_WAIT 4652/php-fpm: pool
tcp 720 0 127.0.0.1:9000 127.0.0.1:52779 ESTABLISHED -
tcp 0 0 127.0.0.1:81 127.0.0.1:55817 ESTABLISHED 2654/nginx: worker
tcp 721 0 127.0.0.1:9000 127.0.0.1:52266 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55818 ESTABLISHED 2654/nginx: worker
tcp 9 0 127.0.0.1:9000 127.0.0.1:52009 CLOSE_WAIT 4645/php-fpm: pool
tcp 641 0 127.0.0.1:9000 127.0.0.1:52777 CLOSE_WAIT -
tcp 665 0 127.0.0.1:9000 127.0.0.1:52521 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55563 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55564 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55566 TIME_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52019 CLOSE_WAIT 4674/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55825 ESTABLISHED 2654/nginx: worker
tcp 9 0 127.0.0.1:9000 127.0.0.1:52017 CLOSE_WAIT 19710/php-fpm: pool
tcp 720 0 127.0.0.1:9000 127.0.0.1:52785 ESTABLISHED -
tcp 3041 0 127.0.0.1:9000 127.0.0.1:52273 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55827 ESTABLISHED 2654/nginx: worker
tcp 721 0 127.0.0.1:9000 127.0.0.1:52528 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55829 ESTABLISHED 2654/nginx: worker
tcp 729 0 127.0.0.1:9000 127.0.0.1:52790 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52022 CLOSE_WAIT 13922/php-fpm: pool
tcp 9 0 127.0.0.1:9000 127.0.0.1:51765 CLOSE_WAIT 22876/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55831 ESTABLISHED 2654/nginx: worker
tcp 1392 0 127.0.0.1:9000 127.0.0.1:52788 ESTABLISHED -
tcp 721 0 127.0.0.1:9000 127.0.0.1:52532 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55833 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55835 ESTABLISHED 2654/nginx: worker
tcp 0 0 127.0.0.1:81 127.0.0.1:55581 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55838 ESTABLISHED 2654/nginx: worker
tcp 721 0 127.0.0.1:9000 127.0.0.1:52540 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55840 ESTABLISHED 2654/nginx: worker
tcp 720 0 127.0.0.1:9000 127.0.0.1:52739 ESTABLISHED -
tcp 9 0 127.0.0.1:9000 127.0.0.1:51970 CLOSE_WAIT 3854/php-fpm: pool
tcp 961 0 127.0.0.1:9000 127.0.0.1:52226 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55842 ESTABLISHED 2654/nginx: worker
tcp 0 0 127.0.0.1:81 127.0.0.1:55844 ESTABLISHED 2654/nginx: worker
tcp 720 0 127.0.0.1:9000 127.0.0.1:52743 ESTABLISHED -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52230 CLOSE_WAIT 8413/php-fpm: pool
tcp 9 0 127.0.0.1:9000 127.0.0.1:51974 CLOSE_WAIT 8439/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55846 ESTABLISHED 2654/nginx: worker
tcp 9 0 127.0.0.1:9000 127.0.0.1:51972 CLOSE_WAIT 4588/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55849 ESTABLISHED 2654/nginx: worker
tcp 9 0 127.0.0.1:9000 127.0.0.1:51978 CLOSE_WAIT 15705/php-fpm: pool
tcp 720 0 127.0.0.1:9000 127.0.0.1:52746 ESTABLISHED -
tcp 9 0 127.0.0.1:9000 127.0.0.1:51976 CLOSE_WAIT 8416/php-fpm: pool
tcp 737 0 127.0.0.1:9000 127.0.0.1:52239 CLOSE_WAIT -
tcp 641 0 127.0.0.1:9000 127.0.0.1:52751 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55597 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55856 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55857 TIME_WAIT -
tcp 721 0 127.0.0.1:9000 127.0.0.1:52242 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55858 ESTABLISHED 2654/nginx: worker
tcp 736 0 127.0.0.1:9000 127.0.0.1:52753 ESTABLISHED -
tcp 0 0 127.0.0.1:81 127.0.0.1:55860 ESTABLISHED 2654/nginx: worker
tcp 713 0 127.0.0.1:9000 127.0.0.1:52246 CLOSE_WAIT -
tcp 720 0 127.0.0.1:9000 127.0.0.1:52757 ESTABLISHED -
tcp 0 0 127.0.0.1:9000 127.0.0.1:51733 ESTABLISHED -
tcp 713 0 127.0.0.1:9000 127.0.0.1:52244 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:51988 CLOSE_WAIT 13984/php-fpm: pool
tcp 9 0 127.0.0.1:9000 127.0.0.1:51994 CLOSE_WAIT 4618/php-fpm: pool
tcp 9 0 127.0.0.1:9000 127.0.0.1:51737 CLOSE_WAIT 22878/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55867 ESTABLISHED 2654/nginx: worker
tcp 0 0 127.0.0.1:81 127.0.0.1:55868 ESTABLISHED 2654/nginx: worker
tcp 0 0 127.0.0.1:81 127.0.0.1:55613 TIME_WAIT -
tcp 729 0 127.0.0.1:9000 127.0.0.1:52510 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55871 ESTABLISHED 2654/nginx: worker
tcp 720 0 127.0.0.1:9000 127.0.0.1:52764 ESTABLISHED -
tcp 0 0 127.0.0.1:81 127.0.0.1:55872 ESTABLISHED 2654/nginx: worker
tcp 712 0 127.0.0.1:9000 127.0.0.1:52834 ESTABLISHED -
tcp 721 0 127.0.0.1:9000 127.0.0.1:52577 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55620 TIME_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55876 ESTABLISHED 2654/nginx: worker
tcp 713 0 127.0.0.1:9000 127.0.0.1:52326 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52069 CLOSE_WAIT 4650/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55878 ESTABLISHED 2654/nginx: worker
tcp 721 0 127.0.0.1:9000 127.0.0.1:52580 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55880 ESTABLISHED 2654/nginx: worker
tcp 9 0 127.0.0.1:9000 127.0.0.1:51818 CLOSE_WAIT 22879/php-fpm: pool
tcp 721 0 127.0.0.1:9000 127.0.0.1:52586 CLOSE_WAIT -
tcp 729 0 127.0.0.1:9000 127.0.0.1:52841 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55882 ESTABLISHED 2651/nginx: worker
tcp 9 0 127.0.0.1:9000 127.0.0.1:52072 CLOSE_WAIT 4669/php-fpm: pool
tcp 721 0 127.0.0.1:9000 127.0.0.1:52328 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:52078 CLOSE_WAIT 4582/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55885 ESTABLISHED 2651/nginx: worker
tcp 721 0 127.0.0.1:9000 127.0.0.1:52333 CLOSE_WAIT -
tcp 9 0 127.0.0.1:9000 127.0.0.1:51821 CLOSE_WAIT 19802/php-fpm: pool
tcp 0 0 127.0.0.1:81 127.0.0.1:55887 ESTABLISHED 2651/nginx: worker
tcp 721 0 127.0.0.1:9000 127.0.0.1:52595 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55889 ESTABLISHED 2651/nginx: worker
tcp 649 0 127.0.0.1:9000 127.0.0.1:52849 CLOSE_WAIT -
tcp 0 0 127.0.0.1:81 127.0.0.1:55891 ESTABLISHED 2651/nginx: worker |
|