Re: Delay when fetching a page without Content-Length

2007-03-31 Thread dwetzel
Hello, I had a smilar issue testing varnish last friday, the backend was sending a 302 with a Transfert-Encoding:chunked, Using tcpdump i noticed that varnish was trying to open a new tcp connection with the backend, 3 attempts were made (delay ~15s) before varnish gave up and forwarded back

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Adam Sjøgren
On Sat, 31 Mar 2007 19:22:37 +, Poul-Henning wrote: >> if (req.http.authorization) { > Should have been: req.http.authenticate Well, no such header is ever sent, from what I can see, but I'll give it a go. No difference - still ~16s delay. First the browser asks for the page and the serv

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Adam =?iso-8859-1?Q?Sj=F8gren?= writes: >On Sat, 31 Mar 2007 18:18:36 +, Poul-Henning wrote: > >> Hmm, you're running into a bug in the pass implementation which >> have since been fixed. > >Ah, great. > >(Where can I read about meaning of these? I have scanned t

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Adam Sjøgren
On Sat, 31 Mar 2007 18:18:36 +, Poul-Henning wrote: > Hmm, you're running into a bug in the pass implementation which > have since been fixed. Ah, great. (Where can I read about meaning of these? I have scanned through vcl(7), varnishd(1) and the FAQ). > Try using pipe mode for authenticate

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Adam =?iso-8859-1?Q?Sj=F8gren?= writes: >On Sat, 31 Mar 2007 17:17:10 +, Poul-Henning wrote: > >> Which version of Varnish are you running ? > >The one from Debian unstable backported to stable, i.e. 1.0.3: > >13 VCL_call c fetch >13 VCL_return c pa

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Adam Sjøgren
On Sat, 31 Mar 2007 17:17:10 +, Poul-Henning wrote: > Which version of Varnish are you running ? The one from Debian unstable backported to stable, i.e. 1.0.3: $ /usr/sbin/varnishd -V varnishd (varnish-1.0.3) Copyright (c) 2006 Linpro AS / Verdens Gang AS $ > Can you send me the output

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Poul-Henning Kamp
Hi Adam, Which version of Varnish are you running ? Can you send me the output from varnishlog for the transaction ? -- 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 mal

Delay when fetching a page without Content-Length

2007-03-31 Thread Adam Sjøgren
In my experiments, I've run into a long(ish) delay when I ask for a url behind http auth: $ time wget -S http://www.koldfront.local/stats/ [...¹] real0m16.799s [...] Going directly to Apache: $ time wget -S http://www.koldfront.local:8080/stats/ [...²] real0m0.013s [...] I have

Re: Virtual hosts and logfiles

2007-03-31 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Adam =?iso-8859-1?Q?Sj=F8gren?= writes: >I wonder if anyone has solved how to make varnishncsa only log >requests to a specific virtualhost? (Then I would just run a >varnishncsa for each virtualhost; problem solved). I am not sure you can do that with varnishncsa

Virtual hosts and logfiles

2007-03-31 Thread Adam Sjøgren
Hi. For fun I'm experimenting with running Varnish in front of an Apache that runs some virtual hosts; it looks like it is working very well so far. Having Varnish in front means that Apache logs the local IP/hostname for all requests, which makes the logs somewhat less useful than before. I

Re: Questions about Setup

2007-03-31 Thread Denis Brækhus
- Olivier Dobberkau <[EMAIL PROTECTED]> wrote: > As far as i understood varnish can bei used in different setups: > > A) On a single Server. Listening on Port 80 forwarding to localhost on > a special port. > > B) On a server forwarding to different backends. You can make varnish listen on a