[openamq-dev] amq_server message limit

Martin Sustrik sustrik at imatix.com
Tue Apr 1 17:08:57 CEST 2008


Dmitri,

Just a quick check: How do you know that number of messages in the queue 
is growing? Have you checked it via amq_shell or do you only imply the 
fact from the growing memory usage of the broker?

Martin

Pieter Hintjens wrote:
> Hi Dmitri,
>
>   
>>  I see that queue limits checked in amq_queue_basic_publish. Is this the
>>  only place messages can get into a queue?
>>     
>
> Yes, it is.
>
>   
>>  Could you think of a reason why this message trimming/dropping logic
>>  sometimes does not work?
>>  Is it possible that the profile section of the configuration file
>>  sometimes skipped? Can I check profiles settings on a running server?
>>     
>
> The queue limits don't show on the console, sorry.  There is no way to
> debug the queue limits except by adding trace code and rebuilding.
> This is something we might improve.
>
> You can (in a test environment) try quite simply editing
> amq_server_base.cfg to set the queue limits to 1 to verify that they
> do hit.
>
> If you can find a reproducible case that would be good.  Otherwise
> I'll run up some test programs in PAL to try to recreate what you're
> describing.
>
> -
> Pieter
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
>   



More information about the openamq-dev mailing list