High CPU, possibly due to context switching?

后端 未结 6 1513
自闭症患者
自闭症患者 2021-02-09 06:07

One of our servers is experiencing a very high CPU load with our application. We\'ve looked at various stats and are having issues finding the source of the problem.

One

6条回答
  •  醉酒成梦
    2021-02-09 06:42

    If you can't profile, I'd recommend taking a thread dump or two and seeing what your threads are doing. Your app doesn't have to stop to do it:

    1. http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/threads.html
    2. http://java.net/projects/tda/
    3. http://java.sys-con.com/node/1611555

提交回复
热议问题