Mailing List Archive

varnish problems on Debian 3.1, kernel 2.6.19.2
Hello All,

I'm trying to test out varnish 1.0.3 on Debian 3.1 with a 2.6.19.2
kernel, and I seem to be having some difficulties.

I run varnish with the following options:

sbin/varnishd -T 127.0.0.1:8082 -s file,/home/guba/varnish/var/ -a
0.0.0.0:9081 -b timothy:8080

varnish starts fine, and runs. When I request a file with wget there
is a pause of several seconds between the request and the delivery of
the file. As I get the file, I see:

12 SessionClose c timeout

in the output from varnishlog.

If I use curl, I get the file immediately.

Any help would be greatly appreciated.

-Joel
varnish problems on Debian 3.1, kernel 2.6.19.2 [ In reply to ]
Joel Wood <jwood at guba.com> writes:
> varnish starts fine, and runs. When I request a file with wget there
> is a pause of several seconds between the request and the delivery of
> the file. As I get the file, I see:
>
> 12 SessionClose c timeout
>
> in the output from varnishlog.
>
> If I use curl, I get the file immediately.

Try turning off keepalive on the backend.

If that doesn't help, post a full log of the transaction with both
wget and curl (remember to restart varnishd, or at least clear the
cache, before each attempt)

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