进程调试工具

查看TCP链接状态

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

ps -A -o stat,ppid,pid,cmd | grep -e '^[Zz]' | awk '{print $2}' |

ps -A -o stat,ppid,pid,cmd | grep -e '^[Zz]' | awk '{print $2}' | xargs kill -9

查看假死进程

 ps -A -o stat,ppid,pid,cmd | grep -e '^[Zz]'

还有两个工具

pstack

strace

糖果

糖果
LUA从入门到放弃

服务器大负载情况下客户端出现Connection reset by peer

服务器大负载情况下客户端出现Connection reset by peer Continue reading

Nginx+Lua中文WIKI

Published on March 14, 2019

F5收购Nginx

Published on March 12, 2019