activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Martinec (JIRA) <j...@apache.org>
Subject [jira] [Created] (AMQ-4230) Activemq hangs when temp storage is used
Date Tue, 18 Dec 2012 13:08:13 GMT
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

Mime
View raw message