Thank you. I would be happy to test this build for you as well.<br><br><div class="gmail_quote">On Tue, Aug 24, 2010 at 7:55 AM, Igor Sysoev <span dir="ltr"><<a href="mailto:igor@sysoev.ru">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 class="im">On Tue, Aug 24, 2010 at 07:03:43AM -0400, Arthur Blake wrote:<br>
<br>
> My apologies: I see now that this behavior is clearly documented here:<br>
> <a href="http://nginx.org/en/docs/windows.html" target="_blank">http://nginx.org/en/docs/windows.html</a> it was confusing to me whether<br>
> <a href="http://wiki.nginx.org" target="_blank">wiki.nginx.org</a> or <a href="http://nginx.org" target="_blank">nginx.org</a> is the official documentation page.\<br>
<br>
</div>nginx can run as a service itself, but it should be run by another<br>
utility. Probably nginx should use "Global\" prefix, i.e.<br>
"Global\ngx_reopen_XXX", because srvany/etc may change session.<br>
Tomorrow I will make a test-build with this prefix to test it.<br>
<div><div></div><div class="h5"><br>
> Thanks for this great software!<br>
> I was able to replace 4 load balanced Apache servers that could not handle a<br>
> high request load (>1000 requests per second) with one nginx instance on a<br>
> single server that could handle all that load with a small amount of memory<br>
> and staying at around 10% cpu. Is nginx on windows still considered<br>
> inferior in performance to the linux version? Despite that, it seems to<br>
> blow away apache on windows.<br>
><br>
> On Mon, Aug 23, 2010 at 11:13 AM, Arthur Blake <<a href="mailto:arthur.blake@gmail.com">arthur.blake@gmail.com</a>>wrote:<br>
><br>
> > I tried that and it does not work either, but I've found that if I run<br>
> > nginx directly from the command line, it does work.<br>
> ><br>
> > I am using a windows service wrapper so that nginx can continue to run when<br>
> > I'm logged off (as documented here<br>
> > <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>)<br>
> > In fact, none of the -s commands work when I'm running it under a service.<br>
> > Any ideas why not? I tried it both under an administrator account and the<br>
> > actual account that it is running under as a service...<br>
> ><br>
> > It wasn't clear to me that "-s reopen" was for reopening the log files (not<br>
> > anywhere on the wiki or faq. I guess it's supposed to be obvious?)<br>
> ><br>
> > On Mon, Aug 23, 2010 at 10:56 AM, Igor Sysoev <<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>> wrote:<br>
> ><br>
> >> 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<br>
> >> Usage<br>
> >> > ========================= ======== ================ ===========<br>
> >> ============<br>
> >> > nginx.exe 1884 Services 0<br>
> >> 4,460 K<br>
> >> > nginx.exe 1752 Services 0<br>
> >> 5,512 K<br>
> >><br>
> >> 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>
> >><br>
> >> > On Mon, Aug 23, 2010 at 10:51 AM, Igor Sysoev <<a href="mailto:igor@sysoev.ru">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<br>
> >> 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">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">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>
> >> 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">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>
<br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">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>
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">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>