Partial downloads

Samael nginx-forum at
Sat Feb 18 20:43:59 UTC 2012

Hello, guys,

Recently, I've started seeing a strange problem - sometimes it happens
that nginx only transfers only a small part of the file and the download
gets interrupted. When I debug it, the issue narrows down to "client
timed out (110: Connection timed out) while sending response to client",
but this is certainly not the case, as it happens very quickly (almost
immediately after starting the download, in a less than a second). I
don't see anything unusual with tcpdump. I was wondering whether some of
you has an idea what can be the root cause for this strange behaviour?
Thanks in advance.

nginx version: nginx/1.1.15
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
TLS SNI support disabled
configure arguments: --user=nginx --group=nginx
--prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx
--pid-path=/var/run/ --lock-path=/var/lock/subsys/nginx
--with-debug --with-http_ssl_module --with-http_geoip_module
--with-http_sub_module --with-http_realip_module
--with-http_gzip_static_module --with-http_random_index_module
--with-http_secure_link_module --with-http_degradation_module
--with-http_stub_status_module --with-http_dav_module
--without-mail_pop3_module --without-mail_imap_module
--without-mail_smtp_module --without-http_uwsgi_module --with-file-aio
--with-cc-opt='-O2 -g -m32 -march=i686 -mtune=generic

2.6.18-274.7.1.el5PAE i686

aio on
sendfile on
directio on
tcp_nodelay off
tcp_nopush off
open_file_cache on
client_body_timeout 10
client_header_timeout 10
send_timeout 10
keepalive_timeout 30
max_ranges 5

Posted at Nginx Forum:,222614,222614#msg-222614

More information about the nginx mailing list