Tomcat消耗大量CPU [英] Tomcat consuming high CPU
本文介绍了Tomcat消耗大量CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Tomcat.exe占用75%的CPU. 有谁知道为什么会发生以及如何减少这种情况?
Tomcat.exe is consuming 75% of CPU. Is anyone having any idea why it happens and how can that be decreased?
我正在使用Tomcat5.5& J2SDK v 1.4.2_12
I am using Tomcat5.5 & J2SDK v 1.4.2_12
推荐答案
要了解正在发生的情况,您应该尝试在探查器下运行它.尝试使用YourKit( http://www.yourkit.com/)或Netbeans(
To understand what's happening, you should try to run it under a profiler. Try the YourKit (http://www.yourkit.com/) or Netbeans (http://profiler.netbeans.org/docs/help/5.5/profile_j2ee_profileproject.html).
YourKit可以与tomcat更好地集成.
The YourKit one have better integration with tomcat.
这篇关于Tomcat消耗大量CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文