You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Peter Maas <pf...@gmail.com> on 2011/03/17 10:58:04 UTC

flow control policy

Hi,

On one of our reasonably loaded systems we hit a limit:

>> Usage Manager Memory Limit (1048576) reached on queue://.... Producers will be throttled to the rate at which messages are removed 

We have looked at the documentation regarding flow control, and our initial reaction would be to just switch it off and increase the systemUseage settings; we have plenty of headroom on the hardware and are in control of all the producers ourselves. Would this be a sensible thing to do or should we look at different solutions?

kind regards,

Peter


Re: flow control policy

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Peter,

You should keep producer flow control on as in the other way your producers
will never block. You just need to remove memoryLimit from the policy and
then your queues will use systemUsage settings.


Regards
-- 
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@fusesource.com
Web: http://fusesource.com
Twitter:  http://twitter.com/dejanb
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Mar 17, 2011 at 10:58 AM, Peter Maas <pf...@gmail.com> wrote:

> Hi,
>
> On one of our reasonably loaded systems we hit a limit:
>
> >> Usage Manager Memory Limit (1048576) reached on queue://.... Producers
> will be throttled to the rate at which messages are removed
>
> We have looked at the documentation regarding flow control, and our initial
> reaction would be to just switch it off and increase the systemUseage
> settings; we have plenty of headroom on the hardware and are in control of
> all the producers ourselves. Would this be a sensible thing to do or should
> we look at different solutions?
>
> kind regards,
>
> Peter
>
>