problem: query get too long time.

Igor Sysoev is at rambler-co.ru
Wed Apr 18 12:17:57 MSD 2007


On Wed, Apr 18, 2007 at 12:07:33PM +0400, Andrey wrote:

> Проблема в том, что запрос http://andrey:8080/test_test выполняется
> примерно минуту.
> 
> Конфиг и дебаг лог в аттаче.

> user  nginx;
> worker_processes  1;
> 
> error_log  /var/log/nginx/error_test.log debug;
> 
> 
> pid        /var/run/nginx_test.pid;
> 
> events {
>     worker_connections  1024;
> }
> 
> 
> http {
>     access_log /var/log/nginx/access_test.log;
>     include       /usr/local/etc/nginx/mime.types;
>     default_type  application/octet-stream;
> 
>     sendfile        on;
>     keepalive_timeout  65;
>     
>     charset  utf-8;
>     source_charset utf-8;
>     override_charset off;
> 
>     server {
>         listen       192.168.0.20:8080;
>         server_name  andrey;
> 
>         location / {
>             root   /srv/www/vhosts/andrey;
> 	    autoindex  on;
>         }
> 	
> 	location /test_test {
> 	    perl '
> 		sub {
> 		    my $r = shift;

+                   $r->send_http_header;

> 		    $r->print( "hello" );
> 		    return OK;
> 		}
> 	    ';
> 	}
>     }    
> }


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list