nginx cpu过高或过低--状态简单分析与监控

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

1)  nginx cpu占用率过高,可能是CPU密集型计算导致堵塞的.

    分析工具 https://github.com/agentzh/nginx-systemtap-toolkit#sample-bt

                   https://github.com/agentzh/stapxx#ngx-lj-lua-stacks

2) nginx cpu占用率过低,可能是IO堵塞,比如文件IO,网络IO.

    分析工具: https://github.com/agentzh/stapxx#epoll-loop-blocking-distr

 

转载于:https://my.oschina.net/u/1538135/blog/684571

你可能感兴趣的:(nginx cpu过高或过低--状态简单分析与监控)