[rabbitmq-discuss] server crashes with very fast consumers
matthew at rabbitmq.com
Fri Mar 18 09:04:03 GMT 2011
On Thu, Mar 17, 2011 at 08:48:58PM -0700, alex chen wrote:
> memory limit is 40% * 4GB = 1.6 GB. the broker would crash if there are more
> than 50 GB of messages in 1000 queues. When this happened, the memory usage
> reached 4 GB.
> If I run the broker using 64 bit, it does not crash because it could get more
> than 6 GB of memory. It was able to consume all the messages at rate of
> 100-200 MB/sec.
Good to hear, and that must be one fast running Rabbit! I'll check the
memory limits code - we can detect whether we're in a 32-bit VM or not I
think, so if so, it seems likely to make sense we take
0.4 * min[4GB, RAM]. Certainly, in general, Rabbit just shouldn't crash.
More information about the rabbitmq-discuss