Соединение SSh закрывается автоматически при запуске сервера jenkins tomcat - PullRequest
0 голосов
/ 14 марта 2019

Я развернул jenkins.war на apache-tomcat-9. Это работало раньше. теперь он показывает ошибку утечки памяти. когда я запускаю tomcat server, мое 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 , пожалуйста, найдите вывод

enter image description here

Не могли бы вы помочь мне решить эту проблему?

Спасибо!

...