Re: sendfile changes

2007-05-14 Thread Dag-Erling Smørgrav
Andreas Røsdal <[EMAIL PROTECTED]> writes:
> Poul-Henning Kamp <[EMAIL PROTECTED]> writes:
> > Andreas Røsdal <[EMAIL PROTECTED]> 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
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: sendfile changes

2007-05-13 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, =?ISO-8859-1?Q?Andreas_R
=F8sdal?= writes:
>On Sun, 13 May 2007, Poul-Henning Kamp wrote:
>> In message <[EMAIL PROTECTED]>, =?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
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: sendfile changes

2007-05-13 Thread Andreas Røsdal

On Sun, 13 May 2007, Poul-Henning Kamp wrote:

In message <[EMAIL PROTECTED]>, =?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?

 - Andreas R.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: sendfile changes

2007-05-13 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, =?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.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


sendfile changes

2007-05-13 Thread Andreas Røsdal

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?


  - Andreas R.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev