[rabbitmq-discuss] |Spam| Re: rabbitmq crash?
yaohui
yaohui1984 at qq.com
Tue May 24 08:46:54 BST 2011
</:includetail>
>yaohui wrote:
> RabbitMQ 2.4.0 / erlang R14B
> Java client rabbitmq-java-client-bin-2.4.0
>Are these all running on the same machine?</:includetail>
yes</:includetail>
> How much physical and virtual memory have you got configured on that machine?</:includetail>
2g physical memory ,7g virtual memory </:includetail>
> What memory limit does rabbit think it has? (check the rabbit.log near the beginning).</:includetail>
40% physical memory by defaut (992.4m),
>It looks like the broker owns about 1G of memory and is trying to
allocate another gig. Could it be that some other applications
(including the test client) are consuming the bulk of virtual memory? If
so you need to configure rabbit with a lower memory threshold</:includetail>
i think that's the point</:includetail>
</:includetail>
>(see http://www.rabbitmq.com/extensions.html#memsup), setting it to about
half of what is available for the broker to use after all the other
applications running on the machine have been taken into account.</:includetail>
I see
>Regards,
>Matthias
>PS: please keep the list cc'ed.</:includetail>
Excuse me, i forgot that.</:includetail>
</:includetail>
Another question : if a producer sends plenty of messages constantly over the memory throttling, rabbitmq broker will block producer sending message, where these messages is? stay in the memory of producer? in this case, i think the producer would crash out of memory.</:includetail>
Regards,
Yao
</:includetail>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110524/118e3d66/attachment.htm>
More information about the rabbitmq-discuss
mailing list