activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <ammul...@alumni.princeton.edu>
Subject Memory settings in 5.1
Date Fri, 16 May 2008 12:57:57 GMT
So here's what I've observed attempting to send 1 MB messages to a queue:

With the default settings (5 MB limit per queue, 20 MB memoryUsage
limit), it slows the producer after 4 messages.
If I bump the memoryUsage to 200MB, no change (seems limited by the
queue limit).
If I then set the queue limit up to 50MB (memoryUsage 200MB), it slows
the producer after 49 messages.
If I then set the memoryUsage to 20MB again, *the producer is never
slowed*!!!  Instead it writes messages to Kaha temp files (which are
incidentally labeled topic even though it's a queue)

I find this a little unexpected.  If the broker has the ability to
write to temp files instead of slowing down the producer, why does it
only do that if the queue memory limit is higher than the broker
memoryUsage limit?  Shouldn't it do that always?

Thanks,
       Aaron

Mime
View raw message