request_time exstreamly larger than upstream_response_time for some queries when using fastcgi

Tian Chao tchao.china at yahoo.com
Thu Nov 22 03:52:12 UTC 2012


Does anybody have a clue about this problem?


________________________________
 From: Tian Chao <tchao.china at yahoo.com>
To: "nginx at nginx.org" <nginx at nginx.org> 
Sent: Wednesday, November 21, 2012 1:02 PM
Subject: request_time exstreamly larger than upstream_response_time for some queries when using fastcgi
 

Hi,
I run python in backend, and use nginx to proxy queries to python by using 
fastcgi. I found some strange things in my nginx log those days. Some queries' 
$request_time are up to 40 seconds which their $upstream_response_time are less 
than 1 second.

Here is my fastcgi related conf.
fastcgi_max_temp_file_size 0;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param SCRIPT_NAME "";
fastcgi_pass python_backend;
fastcgi_buffers 1024 8K;

Do you guys know what's the problem?

Chao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121121/aa767a25/attachment.html>


More information about the nginx mailing list