Время ожидания ответа от сервера

Александр Рочев foxr на mail.ru
Ср Дек 29 14:59:38 MSK 2010


Добрый день всем. 
Сегодня был перевезен сервер в дата центр. 
Время ожидание ответа от сервера стало заметно большим, загружая обычную страницу время ожидания от 1.5с -до 4с, получение происходит быстро, милисикунды затрачиваются.
Прилагаю настройки nginx, подскажите, в чем может быть проблема
Кэш отключен.

Генеральный:
user  www www;

worker_processes  8;

error_log  /pub/log/nginx/error_log  notice;

pid        /var/run/nginx.pid;

events {
    worker_connections  4096;
    use kqueue;
        }

http {
    include       mime.types;
    default_type  application/octet-stream;
    server_names_hash_bucket_size 1024;
    client_header_timeout  1m;
    client_body_timeout    1m;
    send_timeout           1m;
    keepalive_timeout      1m;
    sendfile        on;
    client_max_body_size   20m;
    proxy_connect_timeout  60;
    proxy_send_timeout     60;
    proxy_read_timeout     60;
    proxy_buffer_size      128k;
    proxy_buffers          64 128k;
    proxy_busy_buffers_size 128k;
    proxy_buffering        on;
    large_client_header_buffers 16 32k;
    gzip                   on;
    gzip_static            on;
    gzip_min_length        1000;
    gzip_proxied           any;
    gzip_types             text/plain text/xml application/xml application/x-javascript text/javascript text/css text/json;
    gzip_disable           "msie6";
    gzip_comp_level        6;

#proxy_cache_path /pub/cache levels=1:2 keys_zone=one:50m inactive=30m max_size=1024m;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';
access_log  /pub/log/nginx/access_log  main;

server {
        listen 80 default rcvbuf=8k sndbuf=16k;
            }
                    include     /usr/local/etc/nginx/vhosts/*;

       }

Инклуд:
upstream bak {
    server 127.0.0.1:port;
             }


server {

reset_timedout_connection on;

listen ip:80;

server_name    test.ru www.test.ru;

location ~* ^.+\.(htm|html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$ {
                        root /pub/home/www.test.ru/www;

access_log off;
expires 5h;
        }

location ~ /\.ht {
                deny  all;
                    }

location / {

        proxy_set_header        Host            $http_host;

        proxy_set_header X-Real-IP $remote_addr;

        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for; # $remote_addr;

        proxy_pass http://bak/;
#       proxy_cache one;
#       proxy_cache_valid 200 301 302 304 10m;
#       proxy_cache_key "$host$request_uri $cookie_user";
#       proxy_ignore_headers "Cache-Control" "Expires";
        proxy_redirect http://test.ru:2003/ http://test.ru/;
        proxy_redirect http://www.test.ru:2003/ http://www.test.ru/;

        }
        }


----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20101229/508fbbd2/attachment.html>


Подробная информация о списке рассылки nginx-ru