[PATCH] add $unixtime to http variables
Roberto De Ioris
roberto at unbit.it
Wed Sep 22 09:53:29 MSD 2010
>
> This won't work as you expect since request to upstream is created
> once and used when sending request to multiple upstream servers
> (due to proxy_next_upstream/fastcgi_next_upstream/...). Logging
> $upstream_response_time would be better idea.
>
>
Thanks Maxim, this works perfectly for logging slow-accept() (caused by full
backlog queue or insufficient processes) as the counter starts before
nginx connection to upstream.
Bye
--
Roberto De Ioris
http://unbit.it
More information about the nginx
mailing list