Tomáš Martinec created AMQ-4230:
-----------------------------------

             Summary: Activemq hangs when temp storage is used
                 Key: AMQ-4230
                 URL: https://issues.apache.org/jira/browse/AMQ-4230
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.7.0, 5.4.2
         Environment: fedora15; ubuntu 12.10; debian; probably platform 
independent
            Reporter: Tomáš Martinec


The full story is user forum under title:
Activemq 5.4.2 hangs when the temp disk usage is used

On the line 219 of 
http://svn.apache.org/viewvc/activemq/tags/activemq-5.4.2/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java?view=markup
 I unlocked the messagesLock that was created in the queue. I have done that, 
because the writer thread waits for free space, but the consumers are locked 
waiting until the writer thread releases the lock.

My fixing approach was making the cursors aware of the RW lock. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to