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.

Re: Varnish and awstats

2007-08-22 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 match

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 backend.port

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.3

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). That way i

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 are

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: 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 as a

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

Re: Passing through client IP address to server

2007-06-08 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

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 suddenly started dropping all incoming