Welcome! Log In Create A New Profile

Advanced

Re: request_time exstreamly larger than upstream_response_time for some queries when using fastcgi

Tian Chao
November 21, 2012 10:54PM
Does anybody have a clue about this problem?


________________________________
From: Tian Chao <tchao.china@yahoo.com>
To: "nginx@nginx.org" <nginx@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_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

request_time exstreamly larger than upstream_response_time for some queries when using fastcgi

Tian Chao November 21, 2012 12:04AM

Re: request_time exstreamly larger than upstream_response_time for some queries when using fastcgi

Tian Chao November 21, 2012 10:54PM

Re: request_time exstreamly larger than upstream_response_time for some queries when using fastcgi

Reinis Rozitis November 21, 2012 11:06PM

Re: request_time exstreamly larger than upstream_response_time for some queries when using fastcgi

Tian Chao November 22, 2012 02:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready