problem: query get too long time.

Andrey deepmindster at gmail.com
Wed Apr 18 12:07:33 MSD 2007


Доброго времени суток.

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

Конфиг и дебаг лог в аттаче.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070418/666fdad9/attachment.html>
-------------- next part --------------
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->print( "hello" );
		    return OK;
		}
	    ';
	}
    }    
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_test.log
Type: text/x-log
Size: 27485 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070418/666fdad9/attachment.bin>


More information about the nginx-ru mailing list