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

KaMaToZzz nginx-forum на nginx.us
Ср Дек 29 15:36:04 MSK 2010


тоже самая проблема, время ожидание
начиная от 5 секунд и иногда бывает
выше, но не меньше.
вот мой конфиг:

[code]
#######################################################################
#
# This is the main Nginx configuration file.
#
# More information about the configuration options is available on
#   * the English wiki - http://wiki.codemongers.com/Main
#   * the Russian documentation - http://sysoev.ru/nginx/
#
#######################################################################

#----------------------------------------------------------------------
# Main Module - directives that cover basic functionality
#
#   http://wiki.codemongers.com/NginxMainModule
#
#----------------------------------------------------------------------

user              www;
worker_processes  8;
worker_rlimit_nofile 8192;

error_log         /var/log/nginx/error.log;
#error_log        /var/log/nginx/error.log  notice;
#error_log        /var/log/nginx/error.log  info;

pid               /var/run/nginx.pid;

timer_resolution  100ms;

#----------------------------------------------------------------------
# Events Module
#
#   http://wiki.codemongers.com/NginxEventsModule
#
#----------------------------------------------------------------------

events {
    worker_connections  4096;
    use kqueue;
 }

#----------------------------------------------------------------------
# HTTP Core Module
#
#   http://wiki.codemongers.com/NginxHttpCoreModule
#
#----------------------------------------------------------------------

http {
    include       /usr/local/etc/nginx/mime.types;
    default_type  application/octet-stream;

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

    sendfile        on;
    #tcp_nopush     on;
    client_max_body_size 10M;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    send_timeout 140;
    client_body_timeout 140;
    client_header_timeout 140;

    gzip  on;
    charset utf8;

    include hosts/fun3.conf;
    include hosts/wp3.conf;
    include hosts/wp-rdirect.conf;
    include hosts/live.conf;
    include hosts/cacti.conf;
    #include hosts/test.conf;
   }

[/code]

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,161925,161934#msg-161934




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