On Wed, Oct 15, 2008 at 10:25:20AM -0700, Praveen wrote:
Any idea what’s happening? nginx is running on a dedicated server, and
has about 2000 active connections.
The $request_time variable measures wall clock time it took to
fully process request, from first byte got from client to last
byte sent to client. This includes time spent waiting for client
and may really vary depending on what client does / quality of
client’s network connection / etc.
Generally you shouldn’t pay much attention to this number unless
you have control over the client in question.
Thanks! What about the upstream response time? I’m assuming that it is
time from initiating a connection to the backend server till the last
byte of the response is received.
On Wed, Oct 15, 2008 at 01:26:26PM -0700, Praveen wrote:
Thanks! What about the upstream response time? I’m assuming that it is
time from initiating a connection to the backend server till the last
byte of the response is received.
Yes. And $upstream_response_time worth monitoring, since increase
here indicate that something goes wrong with your backends.
Note: $upstream_response_time may contain multiple values,
separated by ", ". This may happen if for some reason request
wasn’t processed by first backend server and went to other one
according to proxy_next_upstream setting.
Maxim D.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.