[rabbitmq-discuss] limits.conf not working...
gonzalo.fernandez at stoneworksolutions.net
Wed Apr 18 10:56:36 BST 2012
I have been trying to figure out why the File Descriptor Limit is different
on the management plugin site than the ulimit -n output for the rabbitmq
user, which is the same as the value of the limits.conf file I've edited.
In another machine, same system different rabbit version (2.7.1 insteasd of
2.8.1) it worked perfectly.
Simon said that the version could not be the problem.
"No. RabbitMQ only ever *reports* on the FD limits it is seeing, it doesn't
impose any more. And this code has not changed from 2.7.1 to 2.8.1"
I can't scratch my head any longer...
Has anyone had this problem before? Any thoughts?
2012/4/17 Gonzalo Fernandez <gonzalo.fernandez at stoneworksolutions.net>
> Things to check:
> * Have you genuinely raised the limit for the rabbitmq user? (sounds like
> you have)
> Yes, both with the ulimit command and on the limits.conf file
> * Is RabbitMQ actually running as the rabbitmq user?
> Yes, here:
> *patilla at test:~$ ps aux | grep rabbitmq-server*
> patilla 22942 0.0 0.0 7640 948 pts/0 S+ 17:19 0:00 grep
> --color=auto rabbitmq-server
> *rabbitmq *29109 0.0 0.0 4096 624 pts/0 S 15:56 0:00 */bin/sh
> * Have you restarted the server? (since ulimit is only checked on "login".
> I tried restarting rabbit server and rebooting the machine.
> I get the value in limits.conf when I run ulimit -n but not on the
> managemnet plugin site...
> Any thoughts?
> 2012/4/17 Simon MacMullen <simon at rabbitmq.com>
>> On 17/04/12 16:05, Gonzalo Fernandez wrote:
>>> I can't find the error..... Could it be the version?
>> No. RabbitMQ only ever *reports* on the FD limits it is seeing, it
>> doesn't impose any more. And this code has not changed from 2.7.1 to 2.8.1.
>> Things to check:
>> * Have you genuinely raised the limit for the rabbitmq user? (sounds like
>> you have)
>> * Is RabbitMQ actually running as the rabbitmq user?
>> * Have you restarted the server? (since ulimit is only checked on "login".
>> Cheers, Simon
>> Simon MacMullen
>> RabbitMQ, VMware
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss