High CPU, possibly due to context switching?

后端 未结 6 1620
自闭症患者
自闭症患者 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:58

    e.g. run a profiler on a similar machine.

    • try a newer version of Java 6 or 7. (It may not make a difference, in which case don't bother upgrading production)
    • try Centos 6.x
    • try not using VMware.
    • try reducing the number of threads. You only have 8 cores.

    You many find all or none of the above options make a difference, but you won't know until you have a system you can test on with a known/repeatable work load.

提交回复
热议问题