tomcat关闭错误

发布于 2024-12-03 00:12:02 字数 406 浏览 4 评论 0原文

我使用的是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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

过期情话 2024-12-10 00:12:02

该错误消息不会阻止 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.

许仙没带伞 2024-12-10 00:12:02

有一些工作线程阻止了 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文