You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/08/07 17:06:24 UTC

[Bug 56827] New: Writer threads are getting stuck when using APR/AJP

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


[Bug 56827] Writer threads are getting stuck when using APR/AJP

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56827

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
There is no evidence of a Tomcat bug in this report. Neither is there
sufficient information for a Tomcat developer to reproduce the behaviour you
are seeing.

Please use the Tomcat users mailing list to debug this issue. If, and only if,
that discussion concludes that there is a genuine bug here then re-open this
issue and provide the necessary steps to reproduce using the simplest possible
test case.

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