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] [Comment Edited] (AMQ-4230) Activemq hangs when temp storage is used
Date Tue, 18 Dec 2012 13:36:12 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534872#comment-13534872
] 

Tomáš Martinec edited comment on AMQ-4230 at 12/18/12 1:34 PM:
---------------------------------------------------------------

Patch extending.kahadb.diff required for every fix approach.
                
      was (Author: tomas.martinec@d3s.mff.cuni.cz):
    Required for every fix approach
                  
> 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.4.2, 5.7.0
>         Environment: fedora15; ubuntu 12.10; debian; probably platform independent
>            Reporter: Tomáš Martinec
>              Labels: cursors,, deadlock,, temp-storage
>         Attachments: extending.kahadb.diff, making-cursors-RWlock-aware.diff, unsynchronizing-cursors.diff
>
>
> 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