[rabbitmq-discuss] 100% CPU usage with 2.8.4 when out file descriptors
Lars Windolf
lars.lindner at gmail.com
Tue Nov 13 22:34:14 GMT 2012
On Tue, Nov 13, 2012 at 8:32 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> Lars,
>
>
> On 13/11/12 18:31, Lars Windolf wrote:
>
>> I was asked by Matthias Rodestock to submit my experience [1] with
>> 100% CPU usage when file descriptors are used up.
>>
>> My setup:
>> - Recent Chef with Ubuntu rabbitmq-server package 2.8.4-1
>>
>> Steps to reproduce:
>> 1.) Set ulimit -n to low value (e.g. default of 1024)
>> 2.) Connect a lot of chef nodes, do a lot of stuff
>> 3.) Wait 2 or 3 days
>>
>> After this memory usage goes up and at some time it starts eating CPU.
>> It does stop working then. Listing the queues doesn't work anymore.
>> Restarting the service doesn't help. "rabbitmqctl report" shows ~100%
>> used file descriptors.
>>
>> Increasing the ulimit and restarting RabbitMQ immediately helps.
>>
>> Best Regards,
>> Lars
>>
>> [1] http://lzone.de/Solving+100%**25+CPU+usage+of+Chef<http://lzone.de/Solving+100%25+CPU+usage+of+Chef>
>>
>
> Thanks for submitting this report. The bug in question got fixed in
> RabbitMQ 2.8.5. It would be great if a) you were able to confirm that (*),
> and b) help disseminate that information to the Chef users.
>
> I guess people are still running into this because Debian testing and
> Ubuntu Quantal ship with 2.8.4.
>
Thanks for the explanation. I updated my post to hint on the upgrade and
will retest as soon as Ubuntu/Debian update to 2.8.5 or larger.
Thanks a lot!
Cheers,
Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121113/f08b286e/attachment.htm>
More information about the rabbitmq-discuss
mailing list