[rabbitmq-discuss] File descriptors (as reported by the management UI)
Ceri Storey
ceri at lshift.net
Fri Apr 26 18:26:13 BST 2013
(26/04/13 11:08), Simon MacMullen wrote:
> On 26/04/13 10:58, Ben Hood wrote:
>> What have I potentially missed?
>
> Are you using the .deb?
>
> In that case start-stop-daemon does not enforce the user's ulimit so
> we inherit it from root. You can edit /etc/default/rabbitmq-server to
> change it.
I've a feeling that we might have systemd on that box, so for anyone
else with the same problem:
I making sure that the following is present in the .service file will do
the trick:
[Service]
LimitNOFILE=16384
And of course, restarting. I've been caught out by this a fair few
times--the limits in /etc/security/limits.conf only get set on login (or
speficially, via PAM) so don't get applied from systemd. But of course,
they /do/ get applied when you log in via ssh, hence it's easy to get
thrown off.
Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130426/7f866fbe/attachment.htm>
More information about the rabbitmq-discuss
mailing list