<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"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></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>
> Hi Igor.<br>
><br>
</div><div class="Ih2E3d">> here's what the error log file says:<br>
><br>
> 2008/10/10 16:11:14 [emerg] 29967#0: open()<br>
> "/var/nginx/logs/xxxxx/error.log" 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>
> Kenneth<br>
><br>
> On Fri, Oct 10, 2008 at 11:36 PM, Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:<br>
> > On Fri, Oct 10, 2008 at 11:31:14PM +0800, Kenneth Demanawa wrote:<br>
> ><br>
> >> Hi Igor.<br>
> >><br>
> >> I was tailing the error_log file when I issued the -HUP, and there's<br>
> >> no new entry added in the log file after I gave the signal to the<br>
> >> master process. :(<br>
> ><br>
> > If you set error_log to notice level, do you see messages like these:<br>
> ><br>
> > 2008/10/10 18:30:14 [notice] 43492#0: signal 1 (SIGHUP) received, reconfiguring<br>
> > 2008/10/10 18:30:14 [notice] 43492#0: reconfiguring<br>
> ><br>
> ><br>
> >> Kenneth<br>
> >><br>
> >> On Fri, Oct 10, 2008 at 11:03 PM, Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:<br>
> >> >> "nginx -t" shows:<br>
> >> >><br>
> >> >> 2008/10/10 14:43:32 [info] 23171#0: the configuration file<br>
> >> >> ./nginx.conf syntax is ok<br>
> >> >> 2008/10/10 14:43:32 [info] 23171#0: the configuration file<br>
> >> >> ./nginx.conf was tested successfully<br>
> >> ><br>
> >> > What is in error_log after -HUP ?<br>
> >> ><br>
> ><br>
> > --<br>
> > Igor Sysoev<br>
> > <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
> ><br>
> ><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>