我肯定做了一些错误的配置,因此我的连接变得堵塞。
# netstat -ant | awk '{print $6}' | sort | uniq -c | sort -n
1 established)
1 Foreign
1 LAST_ACK
2 FIN_WAIT2
5 FIN_WAIT1
8 LISTEN
9 SYN_RECV
155 ESTABLISHED
2551 TIME_WAIT
而Google Analytics显示实时流量是1100到1200。
php-fpm 状态页面显示:
pool www
process manager static
start time 06/Jan/2017:14:34:42 -0500
start since 738
accepted conn 1134
listen queue 0
max listen queue 0
listen queue len 40000
idle processes 399
active processes 1
total processes 400
max active processes 10
max children reached 0
slow requests 0
我有一个非常繁忙的网站,我担心我搞砸了限制连接的设置。请指导我。