我在apache-tomcat-9上部署了jenkins.war。它在早些时候工作。现在它显示内存泄漏错误。当我启动tomcat服务器时,我的ssh连接会自动关闭。
错误消息:
Mar 14, 2019 10:15:49 AM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins$19 onAttained
INFO: Started termination
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins$19 onAttained
INFO: Completed termination
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins _cleanUpShutdownPluginManager
INFO: Stopping plugin manager
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins _cleanUpPersistQueue
INFO: Persisting build queue
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins _cleanUpAwaitDisconnects
INFO: Waiting for node disconnection completion
Mar 14, 2019 10:15:50 AM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
Mar 14, 2019 10:15:50 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Computer.threadPoolForRemoting [#3]] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2019 10:15:50 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Computer.threadPoolForRemoting [#4]] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2019 10:15:50 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3024d93c]) and a value of type [java.util.Stack] (value [[org.apache.ivy.core.IvyContext@6bd72f27]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 14, 2019 10:15:50 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2af01ad7]) and a value of type [org.acegisecurity.context.SecurityContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 14, 2019 10:15:50 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2af01ad7]) and a value of type [org.acegisecurity.context.SecurityContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 14, 2019 10:15:50 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2af01ad7]) and a value of type [org.acegisecurity.context.SecurityContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
服务器启动我的ssh连接后,它会自动关闭,因此我也无法调试。我也检查了 top 命令,请找到输出
可以请任何人帮我解决此问题吗?
谢谢!