sendfile changes

Dag-Erling Smørgrav des at linpro.no
Mon May 14 10:53:06 CEST 2007


Andreas Røsdal <andrearo at pvv.ntnu.no> writes:
> Poul-Henning Kamp <phk at phk.freebsd.dk> writes:
> > Andreas Røsdal <andrearo at pvv.ntnu.no> writes:
> > > 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?

telnet to the management port and type

  param.set sendfile_threshold -1

and add "-p sendfile_threshold=-1" to your startup flags
(VARNISHD_PARAMS in /etc/sysconfig/varnish)

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-dev mailing list