<div dir="ltr">Hi,<br><br>We increased the file limit (using ulimit -S -H -n 4096) and it worked like a charm!<br><br>Thanks,<br><br>Guy.<br><br><br><div class="gmail_quote">On Fri, Oct 10, 2008 at 9:21 AM, Igor Sysoev <span dir="ltr">&lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</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;"><div class="Ih2E3d">On Sat, Oct 11, 2008 at 12:14:14AM +0800, Kenneth Demanawa wrote:<br>
<br>
&gt; Hi Igor.<br>
&gt;<br>
</div><div class="Ih2E3d">&gt; here&#39;s what the error log file says:<br>
&gt;<br>
&gt; 2008/10/10 16:11:14 [emerg] 29967#0: open()<br>
&gt; &quot;/var/nginx/logs/xxxxx/error.log&quot; failed (24: Too many open files)<br>
<br>
</div>So, this is the answer. You need to increase file numbers.<br>
<div class="Ih2E3d"><br>
&gt; Kenneth<br>
&gt;<br>
&gt; On Fri, Oct 10, 2008 at 11:36 PM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br>
&gt; &gt; On Fri, Oct 10, 2008 at 11:31:14PM +0800, Kenneth Demanawa wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hi Igor.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I was tailing the error_log file when I issued the -HUP, and there&#39;s<br>
&gt; &gt;&gt; no new entry added in the log file after I gave the signal to the<br>
&gt; &gt;&gt; master process. :(<br>
&gt; &gt;<br>
&gt; &gt; If you set error_log to notice level, do you see messages like these:<br>
&gt; &gt;<br>
&gt; &gt; 2008/10/10 18:30:14 [notice] 43492#0: signal 1 (SIGHUP) received, reconfiguring<br>
&gt; &gt; 2008/10/10 18:30:14 [notice] 43492#0: reconfiguring<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; Kenneth<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Fri, Oct 10, 2008 at 11:03 PM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt; &quot;nginx -t&quot; shows:<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; 2008/10/10 14:43:32 [info] 23171#0: the configuration file<br>
&gt; &gt;&gt; &gt;&gt; ./nginx.conf syntax is ok<br>
&gt; &gt;&gt; &gt;&gt; 2008/10/10 14:43:32 [info] 23171#0: the configuration file<br>
&gt; &gt;&gt; &gt;&gt; ./nginx.conf was tested successfully<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; What is in error_log after -HUP ?<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Igor Sysoev<br>
&gt; &gt; <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
</div>--<br>
<div><div></div><div class="Wj3C7c">Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Guy Naor<br>CTO<br>Morph Labs, Inc.<br><a href="mailto:guy@mor.ph">guy@mor.ph</a><br><a href="http://www.morphexchange.com">www.morphexchange.com</a><br>
</div>