ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

503 Service Temporarily Unavailable


  • To: nginx-ru@xxxxxxxxx
  • Subject: 503 Service Temporarily Unavailable
  • From: "Виктор Вислобоков" <corochoone@xxxxxxxxx>
  • Date: Tue, 25 Sep 2007 11:00:31 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=/KGO3zCHMlc4vlz4uHFmp9Nb4kiy2DVBmLlm/QACqIE=; b=CTD0mcBpBnPBe9dkdPN3aCYR2oqcQavSzePxXWvNPJ1a9DRnQOkfrIqPqTTOrWlsIargj/vqjBYAMfV47mEhUby7+SASxY3PhyNCdCTNBQQkENRCJWWFfSCnl2UqdBzmmhxdzFR8VnZ+MqHXfmoANNbtUIM9FQbQO5TPM4Zc1OI=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=HT6xs4U2lvd5pIRbBYwNVPsH0R3sm682rMiXOyqnmrUhudj22KRdLzVG8kbeYeE7zKFYdXSacYBW+xR81VlNY9Mkj23wxIB1rXlQeSDe6NYArZqB0S8WaWKjauiH5W8SC24pvqzyPGLIPy7GGKjC7XOPhiNj8y7Na0HsxT8h8hk=

Привет всем!

Такая проблема: nginx выдаёт клиенту такую ошибку:

503 Service Temporarily Unavailable

при этом в логах nginx и apache тишина. Через какое-то время, если попытки повторять страница отдаётся, но клиенты мягко говоря недовольны!
Что делать? Подскажите где копать и что смотреть?

user  nginx;
worker_processes  1;

error_log   /var/log/nginx/error.log;

pid        /var/run/nginx.pid;

events {
    worker_connections  512;
}

http {
    include                             /etc/nginx/mime.types;
    default_type                        application/octet-stream;
    limit_zone                          conn_from_one_ip $binary_remote_addr 4m;
    limit_zone                          conn_for_one_client $document_root 8m;

    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 none;


    sendfile                            on;
    keepalive_timeout                   180;
    server_names_hash_bucket_size       256;

    client_header_buffer_size           128k;
    client_header_timeout               120;
    client_max_body_size                48m;
    client_body_buffer_size             128k;
    client_body_temp_path               /var/lib/nginx/tmp 1 2;

    proxy_set_header                    Host             $host;
    proxy_set_header                    X-Real-IP        $remote_addr;
    proxy_set_header                    X-Forwarded-For  $proxy_add_x_forwarded_for;
    proxy_connect_timeout               300;
    proxy_send_timeout                  120;
    proxy_read_timeout                  120;
    proxy_buffer_size                   64k;
    proxy_buffers                       4 32k;
    proxy_busy_buffers_size             64k;
    proxy_temp_file_write_size          64k;

server {
        listen                          123.123.123.123:80;
        server_name                     server.domain.ru *;
        access_log                      /var/log/nginx/access.log;

        location / {
            limit_conn                  conn_from_one_ip 4;
            limit_conn                  conn_for_one_client 20;
            proxy_pass                  http://192.168.1.1;
            proxy_redirect              off;
        }

        error_page   500 502 503 504  /50x.html;

        location = /50x.html {
            root   html;
        }

        location ~ /\.ht {
            deny  all;
        }
      }

}



 




Copyright © Lexa Software, 1996-2009.