nginx cpu太高或太低--狀態簡單分析與監控

1)  nginx cpu佔用率太高,多是CPU密集型計算致使堵塞的.nginx

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

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

2) nginx cpu佔用率太低,多是IO堵塞,好比文件IO,網絡IO.網絡

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

相關文章
相關標籤/搜索