Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MoonLionK opened this issue May 30, 2024 · 2 comments

Comments

@MoonLionK
Copy link

[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安装

@lkun
Copy link

lkun commented May 30, 2024 via email

@oldratlee
Copy link
Owner

oldratlee commented May 30, 2024

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

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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants