log4j 线程堵塞问题
近期对应用服务器进行了压力测试,发现服务器各项资源占用都不高,但处理能力上不去,用jprofiler看了一下很多线程阻塞,以下是截图,求指教
Blocked on monitor id 2 (a org.apache.log4j.spi.RootCategory) since 3:26.110.924 | |
Waiting thread: http-0.0.0.0-80-Processor59 [jboss] URL: /----.jspx org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() | Owning thread: http-0.0.0.0-80-Processor59 [jboss] URL: /favicon.ico org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() |
Blocked on monitor id 2 (a org.apache.log4j.spi.RootCategory) since 3:26.111.104 | |
Waiting thread: http-0.0.0.0-80-Processor53 [jboss] URL: /favicon.ico org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() | Owning thread: http-0.0.0.0-80-Processor53 [jboss] URL: /favicon.ico org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() |
Blocked on monitor id 2 (a org.apache.log4j.spi.RootCategory) since 3:26.111.950 | |
Waiting thread: http-0.0.0.0-80-Processor94 [jboss] URL: /favicon.ico org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() | Owning thread: http-0.0.0.0-80-Processor94 [jboss] URL: /favicon.ico org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() |

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
换logback
换,呗。