please note, do NOT overwrite but ADD <br><br>add to  /etc/security/limits.conf <br><br><pre class="prettyprint"><code><font size="4"><span class="pln">www-data             soft    nofile           </span><span class="lit">24000</span><span class="pln"><br>
www-data             hard    nofile           </span><span class="lit">32000</span></font><span class="pln"><br></span></code></pre><br>add  /etc/pam.d/login<br><br>session    required   /lib/security/pam_limits.so<br><br>
<br><br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 4:22 PM, Ilan Berkner <span dir="ltr">&lt;<a href="mailto:iberkner@gmail.com">iberkner@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, newbie to linux (a year into it, still learning every day).<div><br></div><div>I searched on Google but am unclear on server settings that impact this vs. nginx settings and what the numbers should be, etc.<div><div>
</div><div class="h5"><br><br><div class="gmail_quote">
On Thu, Sep 10, 2009 at 11:16 AM, István <span dir="ltr">&lt;<a href="mailto:leccine@gmail.com" target="_blank">leccine@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

i would start with google, look up the &quot;how to ask smart questions&quot;<br><br>and if you founded it and read it come back to the list.<br><br>but from the level of details you gave i presume you are a newbie linux administrator and founded the 1024 limitation in linux.<br>


<br>to get over it modify the limits.conf in /etc/security/ and I presume you are using ubuntu so modify the /etc/pam.d/login and include the pam_limits.so with full path <br><br>:)<div><div></div><div><br><br>
<div class="gmail_quote">On Thu, Sep 10, 2009 at 4:10 PM, Ilan Berkner <span dir="ltr">&lt;<a href="mailto:iberkner@gmail.com" target="_blank">iberkner@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">how to handle?<div><br></div><div><div><br></div><div>2009/09/10 10:09:30 [alert] 9691#0: accept() failed (24: Too many open files)</div>


<div><br></div></div>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>the sun shines for all<br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>the sun shines for all<br>