问:网站需要重启才能打开,网站需要重启才能打开
答:您好,通常打不开是因为Java主机内存资源不足导致,可通过虚拟主机管理面板–内存使用情况–设置每天自动重启一次,非常感谢您长期对我司的支持!
问:我们内存只是用了百分之61,并且以前没有这个情款,tomcat已经设置了自动重启,但还是出现这种情款
问:每天需要查看网站的登入情况,严重的影响了我们的使用,并且浪费了不必要的人力资源。
答:您好,建议下次出现异常的时候,先不用做任何操作,可分析下/logs下的访问日志,其次,可提交工单我司检查下,非常感谢您长期对我司的支持!
问:那现在是没办法定位问题吗?
答:您好,目前我司通过/logs/catalina..log 查看日志,核实是内存溢出导致异常,您可通过虚拟主机管理–升级–选择java006这个型号升级后可提升服务器使用内存后观察下,非常感谢您长期对我司的支持!
9:19:40 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
9:19:40 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
9:19:40 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
9:19:40 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
9:19:40 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
15:28:04 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6b5011ed]) and a value of type [org.apache.cxf.BusFactory.BusHolder] (value [org.apache.cxf.BusFactory$BusHolder@55c915a5]) 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.
15:28:35 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor run
严重: Unexpected death of background thread ContainerBackgroundProcessor[StandardEngine[Catalina]]
问:确保升级后能解决这个问题吗?这个后台我们能接收维护吗?
问:我们技术看了logs分析是 JDBC连接时未释放,
答:您好,升级后可提升虚拟主机的内存运行容量,但我司并不熟悉您的程序,建议可升级后再观察下,如还有异常情况,联系程序开发人员检查分析/logs下的日志文件,非常感谢您长期对我司的支持!