tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49249] New: GC overhead limit exceeded when download large files from keep-alive-enabled clustered tomcats
Date Wed, 05 May 2010 04:44:34 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49249

           Summary: GC overhead limit exceeded when download large files
                    from keep-alive-enabled clustered tomcats
           Product: Tomcat 6
           Version: 6.0.18
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mustangxu@gmail.com


1. In a Tomcat cluster forwarded by Apache
2. Config "KeepAlive on" in httpd.conf
3. No static resource cache in Apache
4. Download a large file (jre.exe, 16M) with load (200+ downloads per Tomcat)
directly from Tomcat, a "GC overhead limit exceeded" error will occur in a
short time.  The stacktrace in Tomcat's log looks like below: 

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
com.nazca.io.httpd.HttpServletTool.processResponse(HttpServletTool.java:100)
    at
com.nazca.io.httpd.HttpServletTool.processRequest(HttpServletTool.java:57)
    at
com.nazca.consult.leader.server.servlet.LeaderHttpRPCServlet.processRequest(LeaderHttpRPCServlet.java:55)
    at
com.nazca.consult.leader.server.servlet.LeaderHttpRPCServlet.doPost(LeaderHttpRPCServlet.java:83)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "pool-6-thread-3" java.lang.OutOfMemoryError: GC overhead
limit exceeded
2010-05-05 09:06:53,913 [ERROR]
org.apache.catalina.core.ContainerBase.[Standalone].[localhost].[/consult_workerPortal].[jnlpServlet]
 Servlet.service() for servlet jnlpServlet threw exception
java.lang.OutOfMemoryError: GC overhead limit exceeded

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message