tomcat关闭错误
我使用的是tomcat 6.0.32。当我关闭 tomcat 时会说
tomcat没有及时停止。 pid 文件未删除
我在关闭时收到一些内存泄漏错误消息。错误信息如下。
2011 年 9 月 5 日下午 3:49:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重:Web 应用程序 [/abc] 似乎 已启动一个名为 [failedAuthRateLimit_RateLimitAger)] 的线程,但是 却未能阻止它。这很可能会造成内存泄漏。
可能是什么原因...内存泄漏是否导致 tomcat 无法关闭?
I use tomcat 6.0.32. When I do shutdown tomcat says that
tomcat did not stop in time. pid file was not removed
I get some memory leak error messages ..while doing shutdown . The error message are like below.
Sep 5, 2011 3:49:41 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads SEVERE: The web application [/abc] appears to
have started a thread named [failedAuthRateLimit_RateLimitAger)] but
has failed to stop it. This is very likely to create a memory leak.
What could be the reason ...does the memory leak prevents tomcat from shutting down ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该错误消息不会阻止 tomcat 关闭,但它警告您存在潜在的内存泄漏,应该修复该泄漏。
The error message doesn't prevent the tomcat to shutdown, but it warns you that there is a potential memory leak which should be fixed.
有一些工作线程阻止了 tomcat 的正常关闭。现在我通过在关闭 tomcat 之前正确关闭工作线程解决了这个问题
There were some worker threads , which were preventing proper shutdown of tomcat. Now I resolved it, by properly shutting down the worker threads before shutting down the tomcat