Welcome! Log In Create A New Profile

Advanced

Re: sendfile EAGAIN support broken?

January 05, 2011 08:01PM
Sorry for the slow response, I expected to be auto subscribed to my own thread but wasnt.

Anyway to answer some of the questions:-
proxy_read_timeout 120 is whats triggering the timeout

The OS is FreeBSD running 8-stable from just before Christmas so a recent 8.2-PRERELEASE, which should have any needed OS fixes in. FS is ZFS and while it does have some performance penalties (dual buffers and not zero copy) for sendfile it otherwise works fine for streaming at least so I don't think that's the source atm.

Going through the code I couldn't figure our how any retry would be triggered / attempted. Quite happy to throw some debugging to try and identify the problem if someone can point me in the right direction.

Don't think its possible to remove passenger out the equation as that's the only way I've been able to trigger this thus far.
Subject Author Posted

sendfile EAGAIN support broken?

steveh December 24, 2010 05:01PM

Re: sendfile EAGAIN support broken?

steveh December 24, 2010 07:43PM

Re: sendfile EAGAIN support broken?

Piotr Sikora December 24, 2010 08:42PM

Re: sendfile EAGAIN support broken?

Maxim Dounin December 24, 2010 10:00PM

Re: sendfile EAGAIN support broken?

steveh January 05, 2011 08:01PM

Re: sendfile EAGAIN support broken?

Maxim Dounin January 06, 2011 02:14AM

Re: sendfile EAGAIN support broken?

steveh January 06, 2011 04:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
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