[ 
https://issues.apache.org/activemq/browse/AMQ-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Puneet Gupta updated AMQ-2294:
------------------------------

    Attachment: ServerDebugLog_ThreadDump.txt
                Producer_ThreadDump.txt

The client seems to hang at 
org.apache.activemq.transport.FutureResponse.getResult()

   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x03fc6578> (a java.util.concurrent.locks.Abstra
ctQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:
317)
        at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse
.java:40)
        at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorr
elator.java:80)
        at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnect
ion.java:1233)
        at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1659)
        - locked <0x0454b128> (a java.lang.Object)
        at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProdu
cer.java:227)
        at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessa
geProducerSupport.java:269)
        at perf.harness.ProducerObj.sendMsg(ProducerObj.java:317)
        at perf.harness.ProducerObj.run(ProducerObj.java:237)
        at java.lang.Thread.run(Thread.java:619)


> MessageProducer hangs when using many concurrent sessions
> ---------------------------------------------------------
>
>                 Key: AMQ-2294
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2294
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, JMS client
>    Affects Versions: 5.2.0
>         Environment: I am using the default activemq.xml config. tested and 
> reproduced on both windows and linux machines
>            Reporter: Puneet Gupta
>         Attachments: Producer_ThreadDump.txt, ServerDebugLog_ThreadDump.txt
>
>
> If you create a client (producer) that creates 25 non-transacted sessions and 
> concurrently starts sending messages. The producer will hang after sending 
> exactly 2560 1K messages. 
> This behavior is very easily reproducible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to