<div>Hello,</div><div><br></div>I tested the Cywin version along with the following additional configuration settings:<div><br></div><div><div>worker_processes 5;</div><div>worker_rlimit_nofile 3072;</div></div><div><br></div>
<div><div>events {</div><div> worker_connections 1024;</div><div> accept_mutex off;</div><div> multi_accept on; </div><div>}</div><div><br></div><div>The exact effect of the above settings on the functioning of nginx is not well understood. But with this configuration I find that multiple workers do the work and this improves scalability. One problem that I discovered was that sometimes a connection is not accepted and the following error is emitted:</div>
<div><br></div><div>2012/01/24 11:45:16 [alert] 15964#0: accept() failed (14: Bad address)</div><div><br></div><div>For eg with 2000 concurrent connections about 15 fail to be accepted. When the client shuts down after waiting, the server sockets go into CLOSE_WAIT state. They seem to remain that way forever.</div>
<div><br></div><div>Is anyone aware of a way to overcome this problem?</div><div><br></div><div>Thanks</div><div>Kurien</div><div><br><br><div class="gmail_quote">On Fri, Dec 9, 2011 at 10:38 AM, Ensiferous <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Additionally the Windows version of the event polling which enables high<br>
performance on unix is called IOCP and is not supported last I checked.<br>
So you would basically be using select().<br>
<br>
Windows support is very preliminary and while I can't speak for the<br>
development team, I don't think it's supposed to be used for anything<br>
other than development or testing.<br>
<br>
-Martin Fjordvald<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,219822,219825#msg-219825" target="_blank">http://forum.nginx.org/read.php?2,219822,219825#msg-219825</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div></div>