activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <>
Subject [jira] Resolved: (AMQ-1136) Slow consumer causes producer to block on UsageManager.waitForSpace indefinately
Date Tue, 12 Jun 2007 11:23:33 GMT


James Strachan resolved AMQ-1136.

       Resolution: Fixed
    Fix Version/s: 5.0.0

Great stuff; am gonna mark this issue resolved against 5.0.0 unless anyone can find a reason
to reopen it.

Basically one of the big changes in 5.x is the way the broker deals with memory limits; firstly
producers and consumers have separate usage manager limits (on a per destination basis if
required); which eases some of the old lockups we used to get. Then in addition there's the
option of spoling to disk, rather than blocking indefinitely when a slow consumer is around
using message cursors.

Finally we have a new producer flow control option...

> Slow consumer causes producer to block on UsageManager.waitForSpace indefinately
> --------------------------------------------------------------------------------
>                 Key: AMQ-1136
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Albert Strasheim
>             Fix For: 5.0.0
>         Attachments: ActiveMqBrokerThreadDump.txt,,,
> The issue is described in this thread:
> Basically, a slow consumer can cause a producer to block on UsageManager.waitForSpace
> A basic code sample to reproduce the problem is provided here:
> 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.

View raw message