client timed out (110: Connection timed out)
    ykk ykk 
    ykk02 at rambler.ru
       
    Mon Jan 26 17:09:35 MSK 2009
    
    
  
Здравствуйте!
Ситуация следующая:
linux fedora 9
nginx отдает большие статические файлы. При скачивании в несколько 
потоков все норм. Когда же скачивание идет в 1 поток - скорость на 
старте максимальная клиентская, затем она очень быстро падает и в конце 
выходит под 0 - и опера выдает ошибку.
в логах полно записей вида:
16:51:32 [info] 28096#0: *4536441 client timed out (110: Connection 
timed out) while sending response to client...
16:53:32 [info] 28096#0: *4536441 client timed out (110: Connection 
timed out) while sending to client, client...
конфиг следующий:
user apache;
worker_processes 64;
worker_rlimit_nofile 4096;
error_log logs/error.log debug;
pid logs/nginx.pid;
events {
 worker_connections 1024;
}
http {
...
 gzip on;
 sendfile on;
 tcp_nopush on;
 tcp_nodelay on;
 keepalive_timeout 15;
 sendfile_max_chunk 1m;
 server_names_hash_bucket_size 128;
 server {
 listen ip:80 default sndbuf=512k;
 server_name domain.com;
 access_log off;
 send_timeout 120;
 ...
 }
}
пробовал играться с sndbuf и sendfile_max_chunk - результата нет.
Дисковая подсистема не нагружена...
Кто что посоветует???
Заранее спасибо!
    
    
More information about the nginx-ru
mailing list