Backend timeout.

Sébastien FOUTREL sfoutrel at
Tue Oct 9 17:12:05 CEST 2007

 To continue on my problem,
I did some grep commands and found a sample.vcl refering to backend.timeout in /svn/trunk/varnish-cache/lib/libvcl
Tried to start varnishd with that file but it's full of errors for varnishd.

What did I do wrong ?

-----Message d'origine-----
De : varnish-misc-bounces at [mailto:varnish-misc-bounces at] De la part de Sébastien FOUTREL
Envoyé : mardi 9 octobre 2007 12:08
À : varnish-misc at
Objet : RE: Backend timeout. 

I am pretty new to subversion.

This is what I did :
svn co
cd svn/trunk/varnish-cache
./configure --prefix=/tmp/varnish
Make install
cp etc/default.vcl /tmp/varnish/
Cd /tmp/varnish
Edited default.vcl, modified, backend.port, added backend.timeout ="10s"; under the backend.port line.
Then started varnish with :
varnish:/tmp/varnish# sbin/varnishd -f /tmp/varnish/default.vcl -a -h classic -s file -t 120 file ./varnish.FFeyOF (unlinked) size 31350784 bytes (7654 fs-blocks, 7654 pages) Unknown variable 'backend.timeout'
At: (/tmp/varnish/default.vcl Line 14 Pos 13)
        set backend.timeout = "10s";

And got that result. What did I do wrong ?

-----Message d'origine-----
De : phk at [mailto:phk at] De la part de Poul-Henning Kamp Envoyé : lundi 8 octobre 2007 18:15 À : Sébastien FOUTREL Cc : varnish-misc at Objet : Re: Backend timeout. 

In message <D71E8F2EEEAFB64BB0336A4D09E512F741D5E5 at hermes.BCSTECHNO.local>, =?i so-8859-1?Q?S=E9bastien_FOUTREL?= writes:

>Hello, I wanted to use varnish in front of a very slow applications 
>but, the backend sometimes take to long to feed varnish's cache, 
>resulting in error 503 from varnish.
>my googling gave some result about a backend.timeout parameter but
>varnish-1.1.1 do not understand it.
>Where can I found a version that understand it, do the trunk on svn 
>manage that variable ?

Trunk is in pretty good shape right now, give it a shot.

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.
varnish-misc mailing list
varnish-misc at

More information about the varnish-misc mailing list