Unable to get thread dump? Any ideas why my app blocks?

送分小仙女□ 提交于 2019-12-04 03:51:15

I've seen several bug reports about jstack on Linux with a similar trace:

Do you get the same result with a kill -3 <pid>?

Very likley due to too much memory usage causing GC. Add the params to java:

-verbosegc -XX:+PrintGCDetails

And see if you notice anything obvious in the output/logs

What worked for me was running jstack as the process owner without -F.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!