tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56827] New: Writer threads are getting stuck when using APR/AJP
Date Thu, 07 Aug 2014 15:06:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56827

            Bug ID: 56827
           Summary: Writer threads are getting stuck when using APR/AJP
           Product: Tomcat 7
           Version: 7.0.55
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: oxyg3n8@gmail.com

Writer threads are getting blocked by APR/AJP implementation, this was not
happening on Tomcat 7.0.54, when we upgrade we recompile the APR using the
existing Tomcat and environment, for our case Ubuntu Server 12.04 LTS:


Threads stuck using probe webapp:

 stop     252     async-streaming-executor-20    
org.apache.tomcat.util.net.AprEndpoint.processSocketAsync (
AprEndpoint.java:860 )     BLOCKED     false     false     1821     1
stop     251     async-streaming-executor-19    
org.apache.tomcat.util.net.AprEndpoint.processSocketAsync (
AprEndpoint.java:860 )     BLOCKED     false     false     772     1
stop     227     async-streaming-executor-4    
org.apache.tomcat.util.net.AprEndpoint.processSocketAsync (
AprEndpoint.java:860 )     BLOCKED     false     false     2524     2


Stack trace of blocking code:

 org.apache.tomcat.util.net.AprEndpoint.processSocketAsync (
AprEndpoint.java:860 )
org.apache.coyote.AbstractProcessor.setErrorState ( AbstractProcessor.java:84 )
org.apache.coyote.ajp.AbstractAjpProcessor.action (
AbstractAjpProcessor.java:368 )
org.apache.coyote.Response.action ( Response.java:174 )
org.apache.coyote.Response.finish ( Response.java:274 )
org.apache.catalina.connector.OutputBuffer.close ( OutputBuffer.java:319 )
org.apache.catalina.connector.CoyoteOutputStream.close (
CoyoteOutputStream.java:108 )
org.apache.commons.io.IOUtils.closeQuietly ( IOUtils.java:303 )
org.apache.commons.io.IOUtils.closeQuietly ( IOUtils.java:274 )
com.temetra.wms.utils.filter.QueueOutputStream$1.call (
QueueOutputStream.java:93 )
com.temetra.wms.utils.filter.QueueOutputStream$1.call (
QueueOutputStream.java:79 )
java.util.concurrent.FutureTask.run ( FutureTask.java:262 )
java.util.concurrent.ThreadPoolExecutor.runWorker (
ThreadPoolExecutor.java:1145 )
java.util.concurrent.ThreadPoolExecutor$Worker.run (
ThreadPoolExecutor.java:615 )
java.lang.Thread.run ( Thread.java:745 )

-- 
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