Tomcat 8.0.24
Nginx 2.0.3
无法访问时候,nginx error.log日志是这样的:
2015/08/04 16:07:06 [error] 13130#0: *97877 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 180.97.152.3, server: maven.oschina.net, request: "GET /service/local/repositories/central/content/org/springmodules/spring-modules-osworkflow/0.8/spring-modules-osworkflow-0.8-sources.jar HTTP/1.1", upstream: "http://127.0.0.1:8080/service/local/repositories/central/content/org/springmodules/spring-modules-osworkflow/0.8/spring-modules-osworkflow-0.8-sources.jar", host: "maven.oschina.net"
04-Aug-2015 16:07:45.636 SEVERE [127.0.0.1-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [org.apache.shiro.util.ThreadContext.InheritableThreadLocalMap] (value [org.apache.shiro.util.ThreadContext$InheritableThreadLocalMap@2d92f2be]) and a value of type [java.util.HashMap] (value [{org.apache.shiro.util.ThreadContext_SUBJECT_KEY=org.apache.shiro.web.subject.support.WebDelegatingSubject@1597b8d2, org.apache.shiro.util.ThreadContext_SECURITY_MANAGER_KEY=org.apache.shiro.web.mgt.DefaultWebSecurityManager@7dac1a45}]) 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. 04-Aug-2015 16:07:45.637 SEVERE [127.0.0.1-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [com.yammer.metrics.stats.ThreadLocalRandom$1] (value [com.yammer.metrics.stats.ThreadLocalRandom$1@4d6b16d9]) and a value of type [com.yammer.metrics.stats.ThreadLocalRandom] (value [com.yammer.metrics.stats.ThreadLocalRandom@1be6ee11]) 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.
2015-08-04 16:23:47 ERROR [8080122] anonymous org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got RemoteStorageException in proxy repository "Central" [id=central] while retrieving remote artifact "ResourceStoreRequest{requestPath='/org/springframework/org.springframework.beans/3.1.1.RELEASE/org.springframework.beans-3.1.1.RELEASE.jar', requestContext=RequestContext{this={request.address=127.0.0.1, request.condition.ifNoneMatch={SHA1{83d0e5adc98714783f0fb7d8a5e97ef4cf08da49}}, request.remoteOnly=false, request.url=http://maven.oschina.net/content/groups/public/org/springframework/org.springframework.beans/3.1.1.RELEASE/org.springframework.beans-3.1.1.RELEASE.jar, request.user=anonymous, request.localOnly=false, request.agent=Mozilla/5.0 Gecko/20100115 Firefox/3.6, request.asExpired=false, request.appRootUrl=http://maven.oschina.net/, request.external=true, request.authorized=true}, parent=null}, pathStack=[/groups/public/org/springframework/org.springframework.beans/3.1.1.RELEASE/org.springframework.beans-3.1.1.RELEASE.jar], processedRepositories=[public, ibiblio, central], appliedMappings={public=[]}}" from URL http://repo.maven.apache.org/maven2/, this is 1 (re)try, cause: java.net.ConnectException: Connection timed out
先这些吧~
nginx日志是说连接不上后端tomcat吧;
但是tomcat日志是说停止tomcat时不能回收某些对象,可能是内存泄露。怎么停的,是内存泄露导致Tomcat内存用完死掉?
还有其他日志么?
第一次见到服务器用debianUbuntuserver?那也够牛的~这服务器是ubuntu的用了一段时间的osc之后,果断换回默认的了。嗯,用中央库也可以的版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。