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 19:21:02 GMT

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

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

    Attachment: SlowReceive3.zip

This junit test reproduces the hang reliable.

It has inner loops which create new connections after 25 messages.
In the second iteration the producer and consumer block.

> 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,
SlowReceive3.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