Comment 0 for bug 1455755

Revision history for this message
slava valyavskiy (slava-val-al) wrote :

Currently, ocf should take limits configuration from "/etc/default/rabbitmq-server" file. But, if we change limits configuration via this file it will take on effect.

https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/cluster/files/ocf/rabbitmq#L698

We initialize limits for current root user, but we run all rabbitmq processes using rabbimq user wrapper.

As a workaround we can add "/etc/security/limits.d/rabbit.conf" and put necessary configuration into it:
####
# Raising open file limit for Rabbitmq services
rabbitmq soft nofile 80000
rabbitmq hard nofile 112640
####

In other way, global system limits will used.