在压测时,CPU偶尔会100%,怀疑是lua-resty-upstream(https://github.com/hamishforbes/lua-resty-upstream)库中健康检查那块出了问题。请帮忙从图中分析下可能是哪块有问题,谢谢!
Attachment: 20758-trace.svg Description: image/svg
On Tuesday, May 10, 2016 at 9:56:04 AM UTC+8, LouisZhou wrote:在压测时,CPU偶尔会100%,怀疑是lua-resty-upstream(https://github.com/hamishforbes/lua-resty-upstream)库中健康检查那块出了问题。请帮忙从图中分析下可能是哪块有问题,谢谢! --
Hello确实是 Lua Land 消耗了很多 CPU此时你应该用 https://github.com/openresty/stapxx#lj-lua-stacks看看 Lua Land 的火焰图在 2016年5月10日 上午9:57,LouisZhou <louis....@gmail.com>写道:On Tuesday, May 10, 2016 at 9:56:04 AM UTC+8, LouisZhou wrote:在压测时,CPU偶尔会100%,怀疑是lua-resty-upstream(https://github.com/hamishforbes/lua-resty-upstream)库中健康检查那块出了问题。请帮忙从图中分析下可能是哪块有问题,谢谢! -- --