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