Re: Help debugging cacheability / ttl information?

2008-02-18 Thread Denis Brækhus
- "Dag-Erling Smørgrav" <[EMAIL PROTECTED]> wrote: > > setup with regards to TTLs and cacheability. I'd like to be able to > > inspect a specific cached objects TTL to see if my "set obj.ttl" > > overrides actually work or not. What is the best way to do that? > You should get a varnishlog entr

Help debugging cacheability / ttl information?

2008-01-31 Thread Denis Brækhus
Hi, We have a setup with varnish in front of a lighttpd+fastcgi combo. For some reason or other the application doesn't send any cache control headers. Instead of doing the sensible thing (prodding the developers to fix it in the backend) I have taken it upon myself to fix it via VCL. However

Re: varnishd gives 'Cannot create working directory' error

2007-10-21 Thread Denis Brækhus
- "Bennett Haselton" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] ~]# /etc/rc.d/init.d/varnishd start > Starting varnishd: Cannot create working directory > 'NONE/var/varnish/sls-ce3p12' > : No such file or directory Try : "mkdir /var/varnish" check which user varnish is run under in your

Re: Varnish and awstats

2007-08-22 Thread Denis Brækhus
he AWStats docs. Regards -- Denis - Original Message ----- From: jdouglas <[EMAIL PROTECTED]> To: Denis Brækhus <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2007 9:53:56 AM GMT+0100 Europe/Berlin Subject: Re: Varnish and awstats From the varnish generated log file 74.93

Re: Varnish and awstats

2007-08-21 Thread Denis Brækhus
From: jdouglas <[EMAIL PROTECTED]> >Is there a trick to getting awstats to work with varnish? > >I tried doing varnishncsa -a -w filename and then pointed awstats to this file >but it gives me an error that the log format must be incorrect > >a bad format or LogFormat parameter setup does not m

Article in O3 magazine

2007-08-15 Thread Denis Brækhus
http://www.emea.o3magazine.com/pastissues/issue6/ "Inside: Open Source Web Acceleration with Varnish" Nice article on Varnish, I quote : "Varnish is an impressive web accelleration / reverse proxy solution. It is used on a growing number of high-traffic production networks around the world

Re: Varnish - configuration

2007-07-23 Thread Denis Brækhus
From: Kamil Radziszewski <[EMAIL PROTECTED]> >How to configure varnish to cache files from website that is on anoter IP >adress as the varnish ? "man vcl" gives you info on the backend directive to use in your vcl config: backend default { set backend.host = "www.example.com"; set backen

Q: multiple backends

2007-07-10 Thread Denis Brækhus
- Florian Schulze <[EMAIL PROTECTED]> wrote: > > A huge step would be to have even a basic facility for multiple > > backends, like round-robin or weighted round-robin (which should > > theoretically be the easiest models to implement as they require > > little in the way of monitoring of the b

Re: Q: multiple backends

2007-07-10 Thread Denis Brækhus
- Poul-Henning Kamp <[EMAIL PROTECTED]> wrote: > There is your point right there: You won't have "all of the above" > any time soon. What I'm looking for is input in which 20% of the > work gives 80% of the benefit. A huge step would be to have even a basic facility for multiple backends, li

Re: Problem with varnish and caching

2007-07-03 Thread Denis Brækhus
- Anup Shukla <[EMAIL PROTECTED]> wrote: > Manuel Amador (Rudd-O) wrote: > > site is cached according to Varnish default policies. You have not > > provided a single counterexample or a single snippet of VCL that > > could solve the problems I have, or a single snippet of VCL that you guys > >

Re: Varnish Dirty Caching

2007-07-03 Thread Denis Brækhus
- Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > Christoph <[EMAIL PROTECTED]> writes: > > So what is dirty caching and why use it? Think of a very unreliable > > backend. If varnish can't reach it's backend, it will simply return > > the last content it has (even if the content is stale). Th

Re: Failure cenarios?

2007-07-03 Thread Denis Brækhus
- Gaute Amundsen <[EMAIL PROTECTED]> wrote: > I have come to understand that in some builds under some conditions > varnish > may hang or a crash. (we run 1.0.4-3el4.i386.rpm) Hi Gaute, I'll just say that in my experience Varnish has proven itself to be extremely stable. We actually run 1.0

Re: varnish and Nginx

2007-07-02 Thread Denis Brækhus
- Dingo <[EMAIL PROTECTED]> wrote: > So its feasible to run Nginx as the server/load balancer and varnish > as the front end cache giving potentially a decent high speed/high > capacity design. Well, I have no experience with Nginx whatsoever, but yes, both could be components in a high speed

Re: varnish and Nginx

2007-07-02 Thread Denis Brækhus
- Dingo <[EMAIL PROTECTED]> wrote: > How would one compare say varnich with nginx > http://wiki.codemongers.com/Nginx > where i see Nginx is not only a web server but a balancer for > http/pop/imap/smtp Interesting question. I have myself been looking at Nginx, mainly for its capabilities a

Re: Varnish and Perlbal

2007-07-02 Thread Denis Brækhus
- André Cruz <[EMAIL PROTECTED]> wrote: > Ok, I'll try it both ways to test. > > And regarding my other question... Should Perlbal handle the request > > first, and pass it to some varnish process or should varnish process > > the request first and send only the misses to PerlBal+Apache? >

Re: Passing through client IP address to server

2007-06-07 Thread Denis Brækhus
- ADOFMS Admin, SteveOC <[EMAIL PROTECTED]> wrote: > There is also a HTTP_X_VARNISH variable set as well, which is just a > number. Any idea what this one does ? This number is a request number you can use for debugging. varnishlog outputs these identifiers and you can cross check with the n

Re: "Whitescreen" issue with varnish 1.0.2-2 (debian etch)

2007-05-16 Thread Denis Brækhus
- Ingvar Hagelund <[EMAIL PROTECTED]> wrote: > Rumors says 1.0.4 is on the stairs, banging at the door. It will > probably include an update to the Debian package. > I don't know if changes/updates will trickle into etch over the time. > Stig, Lars? For that to happen someone would have to bac

Re: "Whitescreen" issue with varnish 1.0.2-2 (debian etch)

2007-05-16 Thread Denis Brækhus
- Kenneth Rørvik <[EMAIL PROTECTED]> wrote: > I saw the same problems with 1.0.2 on redhat - empty documents > returned > after a while, possibly related to filling up the disk backend file. > > 1.0.3 fixed it here, I didn't look deeper into it. 1.0.3 worked here too. I always intended to ru

"Whitescreen" issue with varnish 1.0.2-2 (debian etch)

2007-05-15 Thread Denis Brækhus
Hi all, I have begun testing varnish on our main server pool, and the initial tests worked smoothly. However as soon as I put the box under load (gave it a slice of our production traffic) it started "fumbling" requests. I know it's not a very good description, but I have a hard time understand

Re: multiple backend + apache bottleneck

2007-05-01 Thread Denis Brækhus
- jean-marc pouchoulon <[EMAIL PROTECTED]> wrote: > Hello all , > We are using zope/nuxeo cps with 8 zeo clients and I test varnish 1.3 > in place of squid 2.6. > squid uses 8 zeo peers and if I've understood well varnish can have > "only one" host per backend. > is there is a way to load ba

Re: Gzip issues with Varnish

2007-04-30 Thread Denis Brækhus
- Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > Denis Brækhus <[EMAIL PROTECTED]> writes: > Yes, this is exactly what will happen, because Varnish does not yet > understand the Vary: header which the server uses to indicate that > the document it returns can v

Gzip issues with Varnish

2007-04-25 Thread Denis Brækhus
Hi, One of my developer colleagues has experienced an issue at Aftenposten with regards to gzip and varnish. I think you are experiencing the same issue we had, that is Varnish doesn't really handle gzipped data from the backend intelligently yet. So you could have the following scenario: 0. V

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

Re: Current Varnish status?

2007-02-13 Thread Denis Brækhus
- Kenneth Rørvik <[EMAIL PROTECTED]> wrote: > Denis Brækhus wrote: > > So, my question is, how stable do you consider the current release > to be? > (http://www.hio.no) for three weeks + now. In that time, there's been > one major incident, in which varnish

Re: Current Varnish status?

2007-02-13 Thread Denis Brækhus
- Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > Basically, if a page uses cookies, you can't cache it. That goes for > any proxy, not just Varnish. Yes I know that. > By default, Varnish goes into PASS mode if the client includes a > cookie in the request. It will however cache a page d

Re: Current Varnish status?

2007-02-13 Thread Denis Brækhus
- Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > The differences between the released version and the svn trunk are > currently very small (a few bug fixes). So SVN would actually be more stable then? > Whether Varnish is usable in a production environment depends on the > nature of your ap

Current Varnish status?

2007-02-12 Thread Denis Brækhus
Hi list, I have scanned the pretty light backlogs on the Varnish lists, and I haven't seen much discussion on the current state of Varnish. There was mention of problems with lighthttpd, but other than that I couldn't find much.. So, my question is, how stable do you consider the current releas