<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">(26/04/13 11:08), Simon MacMullen
wrote:<br>
</div>
<blockquote cite="mid:517A5214.6040603@rabbitmq.com" type="cite">On
26/04/13 10:58, Ben Hood wrote:
<br>
<blockquote type="cite">What have I potentially missed?
<br>
</blockquote>
<br>
Are you using the .deb?
<br>
<br>
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.
<br>
</blockquote>
<br>
I've a feeling that we might have systemd on that box, so for anyone
else with the same problem:<br>
<br>
I making sure that the following is present in the <tt>.service</tt>
file will do the trick:<br>
<br>
<tt>[Service]</tt><tt><br>
</tt><tt>LimitNOFILE=16384</tt><br>
<br>
And of course, restarting. I've been caught out by this a fair few
times--the limits in <tt>/etc/security/limits.conf</tt> only get
set on login (or speficially, via PAM) so don't get applied from
systemd. But of course, they <i>do</i> get applied when you log in
via ssh, hence it's easy to get thrown off.<br>
<br>
Cheers,<br>
</body>
</html>