sendfile changes
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun May 13 17:47:30 CEST 2007
In message <20070513155325.O68470 at verden.pvv.ntnu.no>, =?ISO-8859-1?Q?Andreas_R
=F8sdal?= writes:
>On Sun, 13 May 2007, Poul-Henning Kamp wrote:
>> In message <20070513144559.D67788 at verden.pvv.ntnu.no>, =?ISO-8859-1?Q?Andreas_R
>> =F8sdal?= writes:
>>> Hello,
>>> I have a question about a recent change done in SVN trunk:
>>> http://varnish.projects.linpro.no/changeset/1417
>>>
>>> "Make the sendfile threshold inifinity for now, we have evidence of
>>> sendfile not doing it's job in a number of operating system (-versions ?)"
>>>
>>> What does "not doing it's job" mean here? Sending corrupt or incomplete
>>> data?
>>
>> One, the other or even Both, depending on your kernel.
>
>Yes, I've seen both. What is the best workaround for this problem?
>Should I install the varnish from SVN trunk?
Just set the parameter "sendfile_threshold" to -1
--
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-dev
mailing list