disable sendfile in Varnish, please [UPD]
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon May 21 16:45:49 CEST 2007
In message <87wsz31rs3.fsf at des.linpro.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=
writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
>> Sendfile moves the filebuffers to the socket and as soon as it has
>> done this, it returns, and the buffers may not have been processed
>> by TCP yet.
>
>So we need to be able to block (or at least prevent re-use of the
>affected part of the storage file) until sendfile() completes...
No, that gets waaay to complicated.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list