[jboss-jira] [JBoss JIRA] Assigned: (JBAS-9042) Multiple threads blocking waiting to close Pipe.in during smoke tests

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Apr 6 14:03:33 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-9042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned JBAS-9042:
--------------------------------------

    Assignee:     (was: Brian Stansberry)


> Multiple threads blocking waiting to close Pipe.in during smoke tests
> ---------------------------------------------------------------------
>
>                 Key: JBAS-9042
>                 URL: https://issues.jboss.org/browse/JBAS-9042
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>            Reporter: Brian Stansberry
>             Fix For: 7.0.0.Beta4
>
>         Attachments: org.jboss.as.test.embedded.demos.ejb3.StatelessBeanTestCase-output.txt
>
>
> I'm seeing hangs in the smoke tests where threads are all blocking in the management request handling code. Thread dump attached.
> One thing that stands out is the large number of threads in this state:
> "pool-1-thread-7" prio=5 tid=102be5800 nid=0x10f377000 in Object.wait() [10f376000]
>    java.lang.Thread.State: WAITING (on object monitor)
> 	at java.lang.Object.wait(Native Method)
> 	- waiting on <7f5235be8> (a java.lang.Object)
> 	at java.lang.Object.wait(Object.java:485)
> 	at org.jboss.as.protocol.Pipe$1.read(Pipe.java:75)
> 	- locked <7f5235be8> (a java.lang.Object)
> 	at org.jboss.as.protocol.ConnectionImpl$MessageInputStream.close(ConnectionImpl.java:302)
> 	at org.jboss.as.protocol.StreamUtils.safeClose(StreamUtils.java:294)
> 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:65)
> 	at org.jboss.as.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:254)
> 	at org.jboss.as.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:213)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> I don't see how there would be that many concurrent requests going on; what I *suspect* is happening is those threads are handling requests from different test cases and are hanging. Eventually the pool is exhausted.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list