Hi All,<div><br></div><div>I'm running a Rails site with nginx/mongrel on a fairly well specced dedicated box w/ 4GB RAM and during a spike both the Mongrels and nginx logs started to complain about running out of file descriptors. I've googled for this and not found anything particularly useful so I wondered if anyone here has experienced this, has any fixes or any tips on how to diagnose the problem. The few posts found via Google all recommend adjusting the global descriptor limits (via ulimit) but its already set high (about 200000) and there are no per user limits set. I've not set <span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">worker_rlimit_nofile in nginx but Im not sure thats the problem as the mongrels where hitting the file descriptor limits as well.</span></div>
<div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px;">Any wisdom?</span></div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px;"><br>
</span></div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px;">Thanks,</span></div><div><br>-- <br>Dan Webb <br><a href="http://www.danwebb.net">http://www.danwebb.net</a><br><br>aim: danwrong123<br>
skype: danwrong
</div>