<div dir="ltr">That ticket does look like the same issue I'm having as I was indeed using timer_resolution. The problem seems to have coincided with a recent Debian kernel update, so it's possible they backported those changes. I have removed timer_resolution from my config and so far have been unable to reproduce the issue.<div><br></div><div>Thanks for the quick reply!</div><div><br></div><div>Regards,</div><div>Richard.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 4:32 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<span class=""><br>
On Tue, Jan 31, 2017 at 04:19:59PM +0100, Richard Stanway wrote:<br>
<br>
> Hi all,<br>
> I'm experiencing odd behavior with some larger HTTP file downloads from my<br>
> site. The files will download for a seemingly random amount of bytes then<br>
> the connection freezes until "send_timeout" expires, at which point the<br>
> error log shows "client timed out (110: Connection timed out) while sending<br>
> response to client".<br>
><br>
> A tcpdump shows both ends successfully passing packets with no packet loss.<br>
> nginx is pretty stock from the <a href="http://nginx.org" rel="noreferrer" target="_blank">nginx.org</a> repository, no 3rd party modules<br>
> or complex options, mostly static files and fastcgi / PHP. The behavior is<br>
> very intermittent, but happens regardless of client browser / IP /<br>
> requested file.<br>
><br>
> I was able to captured a debug log when this happened, it is available at<br>
> <a href="https://hastebin.com/tevusuhobe.m" rel="noreferrer" target="_blank">https://hastebin.com/<wbr>tevusuhobe.m</a> (some rewrite details and variables have<br>
> been omitted)<br>
<br>
</span>[...]<br>
<span class=""><br>
> sendfile, tcp_nopush, tcp_nodelay are enabled.<br>
> accept_mutex, aio is disabled.<br>
><br>
> Linux karak 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)<br>
> x86_64 GNU/Linux<br>
><br>
> I've also tried mainline nginx/1.11.9 from the <a href="http://nginx.org" rel="noreferrer" target="_blank">nginx.org</a> repository and the<br>
> problem persisted. Any advice on what I should be looking at to resolve<br>
> this would be very welcome!<br>
<br>
</span>This sounds similar to <a href="https://trac.nginx.org/nginx/ticket/1174" rel="noreferrer" target="_blank">https://trac.nginx.org/nginx/<wbr>ticket/1174</a><br>
(though the kernel looks old enough, but there may by backports).<br>
Are you using timer_resolution?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" rel="noreferrer" target="_blank">http://nginx.org/</a><br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</font></span></blockquote></div><br></div>