Are you using RRD Tools?<br><br>Thanks.<br><br><div class="gmail_quote">On Thu, Feb 19, 2009 at 10:15 PM, Anton Yuzhaninov <span dir="ltr">&lt;<a href="mailto:citrin@citrin.ru">citrin@citrin.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Joe Van Dyk wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Feb 18, 2009 at 9:24 AM, Anton Yuzhaninov &lt;<a href="mailto:citrin@citrin.ru" target="_blank">citrin@citrin.ru</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Swish wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any method to tell if Nginx is hitting max connections, other<br>
than getting a request timeout? Will anything appear in the logs? I ask for<br>
tuning purposes to get the optimal number of worker_processes and<br>
worker_connections. Also, at what point is it better to increase the<br>
worker_processes vs worker_connections, how can you tell what proportion is<br>
most efficient?<br>
</blockquote>
For tuning purposes it is better to use rrd-graphs.<br>
Here is example (but not best) of how to setup this:<br>
<a href="http://blog.kovyrin.net/2006/04/29/monitoring-nginx-with-rrdtool/lang/en/" target="_blank">http://blog.kovyrin.net/2006/04/29/monitoring-nginx-with-rrdtool/lang/en/</a><br>
</blockquote>
<br>
Well, what&#39;s the best way of doing it? &nbsp;:D<br>
<br>
</blockquote>
<br></div></div>
1. Active connections and other (reading/writing) better to show on different graphs, because active &gt;&gt; reading and writing.<br>
<br>
2. On graph with requests per second better see 3 lines - accepts, handled, requests<br>
<br>
See attached samples for example.<br>
<br>
-- <br><font color="#888888">
&nbsp;Anton Yuzhaninov<br>
</font></blockquote></div><br>