My apologies: I see now that this behavior is clearly documented here: <a href="http://nginx.org/en/docs/windows.html">http://nginx.org/en/docs/windows.html</a> it was confusing to me whether <a href="http://wiki.nginx.org">wiki.nginx.org</a> or <a href="http://nginx.org">nginx.org</a> is the official documentation page.\<div>
Thanks for this great software!<br><div>I was able to replace 4 load balanced Apache servers that could not handle a high request load (>1000 requests per second) with one nginx instance on a single server that could handle all that load with a small amount of memory and staying at around 10% cpu. Is nginx on windows still considered inferior in performance to the linux version? Despite that, it seems to blow away apache on windows. <br>
<div><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 11:13 AM, Arthur Blake <span dir="ltr"><<a href="mailto:arthur.blake@gmail.com">arthur.blake@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>I tried that and it does not work either, but I've found that if I run nginx directly from the command line, it does work.</div><div><br></div><div><div>I am using a windows service wrapper so that nginx can continue to run when I'm logged off (as documented here <a href="http://misterdai.wordpress.com/2009/10/16/nginx-windows-service/" target="_blank">http://misterdai.wordpress.com/2009/10/16/nginx-windows-service/</a>)</div>
<div>In fact, none of the -s commands work when I'm running it under a service. Any ideas why not? I tried it both under an administrator account and the actual account that it is running under as a service...</div>
</div><div><br></div><div>It wasn't clear to me that "-s reopen" was for reopening the log files (not anywhere on the wiki or faq. I guess it's supposed to be obvious?)</div><div><div></div><div class="h5">
<div><br></div><div><div class="gmail_quote">
On Mon, Aug 23, 2010 at 10:56 AM, Igor Sysoev <span dir="ltr"><<a href="mailto:igor@sysoev.ru" target="_blank">igor@sysoev.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, Aug 23, 2010 at 10:53:38AM -0400, Arthur Blake wrote:<br>
<br>
> C:\nginx>tasklist /fi "imagename eq nginx"<br>
> INFO: No tasks are running which match the specified criteria.<br>
><br>
> C:\nginx>tasklist /fi "imagename eq nginx.exe"<br>
><br>
> Image Name PID Session Name Session# Mem Usage<br>
> ========================= ======== ================ =========== ============<br>
> nginx.exe 1884 Services 0 4,460 K<br>
> nginx.exe 1752 Services 0 5,512 K<br>
<br>
</div>Strange, there is a process with 1884 pid. The event should exist.<br>
Could you terminate the nginx processes, then start nginx again and try<br>
to run "nginx -s reopen" ?<br>
<div><br>
> On Mon, Aug 23, 2010 at 10:51 AM, Igor Sysoev <<a href="mailto:igor@sysoev.ru" target="_blank">igor@sysoev.ru</a>> wrote:<br>
><br>
> > On Mon, Aug 23, 2010 at 10:44:21AM -0400, Arthur Blake wrote:<br>
> ><br>
> > > I get this error:<br>
> > ><br>
> > > C:\nginx>nginx -s reopen<br>
> > > [error]: OpenEvent("ngx_reopen_1884") failed (2: The system cannot find<br>
> > the<br>
> > > file specified)<br>
> ><br>
> > What does<br>
> ><br>
> > tasklist /fi "imagename eq nginx.exe"<br>
> ><br>
> > show ?<br>
> ><br>
> ><br>
> > --<br>
> > Igor Sysoev<br>
> > <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
> ><br>
> > _______________________________________________<br>
> > nginx mailing list<br>
> > <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
> > <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
> ><br>
<br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
> <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br>
<br>
</div>--<br>
<div><div></div><div>Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>