No upstream_response_time in access log file

jonefee nginx-forum at
Sat Nov 3 13:13:30 UTC 2012

i use nginx as reverse proxy server , and php-fpm as fast cgi upstream.
i found some access in nginx access  log file doesen't has  a 
"$upstream_response_time" value  but a  "-" character instead ,,,,  and also
has "$response_time" value.
why ?

for example: - 31/Oct/2012:13:09:34 +0800 POST
HTTP/1.1 499 0($body_bytes_sent) - Dalvik/1.4.0 (Linux; U; Android 2.3.4;
LT18i Build/4.0.2.A.0.62) 21($content_length) 2.448($request_time)
-($upstream_response_time) - - -

the response_time is 2.448,,,but no upstream_response_time,,,,  the http
response code is 499,,,,,dosen't mean that nginx did not finish the
"connection"  and php-fpm even has no chance to "see" the access ?

Posted at Nginx Forum:,232482,232482#msg-232482

More information about the nginx mailing list