美文网首页
新接手个项目运行起来非常卡怎么办

新接手个项目运行起来非常卡怎么办

作者: 程序员大春 | 来源:发表于2021-03-19 12:13 被阅读0次

你需要一个好工具 性能分析arthas

  • 废话不多少先安装&运行
curl -L https://arthas.aliyun.com/install.sh | sh
sh as.sh
  • 运行起来,选择你要监控分析的.jar
  • image.png
  • image.png

先来看看CPU使用率top n线程的栈

thread -n 3

在看看有木有死锁线程

thread -b

监控面板

dashboard
image.png

官方文档

https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn

相关文章

网友评论

      本文标题:新接手个项目运行起来非常卡怎么办

      本文链接:https://www.haomeiwen.com/subject/zhrvcltx.html