Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
таймауты клиентов
- To: nginx-ru@xxxxxxxxx
- Subject: таймауты клиентов
- From: J Channel <jchannelx@xxxxxxxxx>
- Date: Wed, 13 May 2009 23:14:43 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=QaSqqsIAlM+Sg98tfBGgCKUH/Q6NspqgyfT6EyiMmo0=; b=vbdqwiFDKLcFZlvqd1kphJ6eTsdHhIVkScm6xJtD6zpgoC3mWe9yCB4jeUkY8Uo4HY lOpDQ2NQ6JRxsxfSsT8ihj3ojMjGtqwwRj9VRbj7z5QCJIutc32TR1buCmmTSeGEJ0m1 tY+LMyLhtJ5t+IlB8KR387VsJNc9DzTv0JNkQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=dT2r+yA2VIxqlowJXkBALMfWlfcb10RouAWyQV/S81utbhb0PU6IebYjKHexaEMbOt j7FUOWxzuaJZy+XkB2k5NBU+Ngmber29LHVrDTeZalhXIfBsTCQ4Wnt16doz/sCRzgUU xTFdw5mlv8yBTBFeyD63XECePQr7tDSey5Lq0=
nginx-0.7.57 RHEL4 kernel-2.6.9
В логах куча сообщений вида
Народ жалуется, что сайт отдается наполовину или вовсе не открывается.
client timed out (110: Connection timed out) while sending to client
recv() failed (104: Connection reset by peer) while reading client
request headers
writev() failed (104: Connection reset by peer) while sending response to client
client closed prematurely connection while sending response to client
Что делать? Как увеличить эти таймауты? Какие sysctl'ки дернуть?
sendfile отключил, не помогает.
Конфиг:
worker_processes 8;
events {
worker_connections 4096;
}
http {
gzip off;
sendfile off;
keepalive_timeout 30 30;
# global values for all proxies
client_max_body_size 15m;
client_body_buffer_size 128k;
proxy_connect_timeout 30;
proxy_send_timeout 30;
proxy_read_timeout 300;
proxy_buffer_size 4k;
proxy_buffers 8 256k;
proxy_busy_buffers_size 512k;
proxy_temp_file_write_size 256k;
|