useful-scripts icon indicating copy to clipboard operation
useful-scripts copied to clipboard

[1] Fail to jstack busy(48.0%) thread(32231/0x7de7) stack of java process(32170) under user(root).

Open MoonLionK opened this issue 1 year ago • 2 comments

[root@Server-b1e1af54-b199-4a87-92fa-286cedc4693d docker]# ./show-busy-java-threads ./show-busy-java-threads:行114: : 未找到命令 [1] Fail to jstack busy(48.0%) thread(32231/0x7de7) stack of java process(32170) under user(root).

./show-busy-java-threads:行114: : 未找到命令 [2] Fail to jstack busy(0.0%) thread(32170/0x7daa) stack of java process(32170) under user(root).

java服务使用dockerCompose安装

MoonLionK avatar May 30 '24 08:05 MoonLionK

你好: 你的邮件我会尽快看的啦!!!

lkun avatar May 30 '24 08:05 lkun

@MoonLionK 如果是jstack命令找不到的话,需要自己设置好环境。

show-busy-java-threads会从JAVA_HOMEPATH上找jstack命令;也支持选项参数以显式指定jstack命令的路径。


  • 是完整的运行&出错信息吗?如果不是给一下完整的出错信息
    • debug运行输出:bash -x show-busy-java-threads ...
  • 确定一下使用的show-busy-java-threads版本,给一下对应的commit/tag

oldratlee avatar May 30 '24 09:05 oldratlee

你好: 你的邮件我会尽快看的啦!!!

lkun avatar Oct 30 '24 13:10 lkun