I am pretty new to subversion.

This is what I did :
svn co http://varnish.projects.linpro.no/svn/
cd svn/trunk/varnish-cache
./autogen.sh
./configure --prefix=/tmp/varnish
Make
Make install
cp etc/default.vcl /tmp/varnish/
Cd /tmp/varnish
Edited default.vcl, modified backend.host, 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 0.0.0.0:80 
-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 : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Poul-Henning Kamp
Envoyé : lundi 8 octobre 2007 18:15
À : Sébastien FOUTREL
Cc : [email protected]
Objet : Re: Backend timeout. 

In message <[EMAIL PROTECTED]>, =?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
[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-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to