$request_time in logging

Igor Sysoev is at rambler-co.ru
Tue Dec 2 12:05:21 MSK 2008

On Tue, Dec 02, 2008 at 09:40:10AM +0100, Marlon de Boer wrote:

> Does $request_time includes the socket operations (accept(), read(),
> send() and close()) or only the local processing time?
> I'm curious because I wrote some rrdtool stats based on this log feature
> and seeing some long timeouts.

$request_time is time between first read() and last write()/sendfile().
The time between accept() and first read() is not accounted.

Igor Sysoev

More information about the nginx mailing list