activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Vijlbrief (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1136) Slow consumer causes producer to block on UsageManager.waitForSpace indefinately
Date Sat, 17 Feb 2007 18:41:03 GMT

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

Tom Vijlbrief updated AMQ-1136:
-------------------------------

    Attachment: SlowReceive2.zip

I figured out that the SlowReceive1 junit test probably deadlocks
because the connection is shared between sender and consumer.

So I rewrote the test and now the test runs to completion.

Halfway during the send the Producer slows down and gets
in sync with each received message.

When I run my test programs with the tcp broker I still have the 
problem. The sender runs to completion, but the receiver blocks... :-(

> Slow consumer causes producer to block on UsageManager.waitForSpace indefinately
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-1136
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1136
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Albert Strasheim
>         Attachments: ActiveMqBrokerThreadDump.txt, SlowReceive.zip, SlowReceive2.zip
>
>
> The issue is described in this thread:
> http://www.nabble.com/Blocking-on-UsageManager.waitForSpace-again-tf3031460.html
> Basically, a slow consumer can cause a producer to block on UsageManager.waitForSpace
indefinately.
> A basic code sample to reproduce the problem is provided here:
> http://www.nabble.com/Re%3A-Blocking-on-UsageManager.waitForSpace-again-p8521205.html
> Note that the reproducibility of the bug depends on the initial and maximum size of the
VM's heap.

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


Mime
View raw message