<div>You can try nginx status module.</div>
<div>&nbsp;</div>
<div>&nbsp; location ~ ^/status/ { <br>&nbsp;&nbsp;&nbsp; stub_status on;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp; access_log off; <br>} <br></div>
<div>then <a href="http://yourdoamin/status">http://yourdoamin/status</a></div>
<div>you can find the current connections.<br><br></div>
<div class="gmail_quote">On Wed, Feb 18, 2009 at 5:51 AM, Swish <span dir="ltr">&lt;<a href="mailto:swish@latouraineinc.com">swish@latouraineinc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Is there any method to tell if Nginx is hitting max connections, other than getting a request timeout? Will anything appear in the logs? I ask for tuning purposes to get the optimal number of worker_processes and worker_connections. Also, at what point is it better to increase the worker_processes vs worker_connections, how can you tell what proportion is most efficient?&nbsp;<br clear="all">
<font color="#888888"><br>-- <br>Swish<br><a href="mailto:swish@latouraineinc.com" target="_blank">swish@latouraineinc.com</a><br>icq: 226737620<br></font></blockquote></div><br><br clear="all"><br>-- <br>from:baalchina<br>