February 18, 2012 03:43PM
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 --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/nginx.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --pid-path=/var/run/nginx.pid --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 -fasynchronous-unwind-tables'

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
Subject Author Posted

Partial downloads

Samael February 18, 2012 03:43PM

Re: Partial downloads

Maxim Dounin February 18, 2012 04:50PM

Re: Partial downloads

Samael February 18, 2012 05:13PM

Re: Partial downloads

Maxim Dounin February 18, 2012 05:38PM

Re: Partial downloads

Samael February 18, 2012 06:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 213
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready