Re: error page not delivered

2008-02-13 Thread Dag-Erling Smørgrav
Ramon A Hermon [EMAIL PROTECTED] writes:
 I am unable to get varnish to deliver the customized error page when
 requesting a non-existent url.

We can't figure out what's happening from the Apache logs, you have to
show us the Varnish logs.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Miscellaneous questions

2008-02-13 Thread Dag-Erling Smørgrav
Poul-Henning Kamp [EMAIL PROTECTED] writes:
 Michael S. Fischer [EMAIL PROTECTED] writes:
  (1) Feature request: Can a knob be added to turn down the verbosity of
  Varnish logging?  Right now on a quad-core Xeon we can service about
  14k conn/s, which is good, but I wonder whether we could eke out even
  more performance by quelling information that we don't need to log.
 The shared memory log is practically free, the trick is to only
 pick the stuff out of it that you need to store on disk.

I believe varnishlog -w /var/log/varnish.log is enabled by default if
you install from packages on !FreeBSD.  We may want to change this.

  (2) HTTP/1.1 keep-alive connection reuse:  Does Varnish have the
  ability to reuse origin server connections (assuming they are HTTP/1.1
  Keep-Alive connections)?  Or, is there a strict 1:1 mapping between
  client-proxy connections and proxy-origin server connections?
 They should already be reused by default.

Maybe something is preventing backend session reuse in his
installation; that can easily be determined from logs.

I think the default timeout on backends connection may be a little
short, though.

  (3) Feature request: Request hashing.  It would be really cool if
  Varnish were able to select the origin server (in reality another
  Varnish proxy) by hashing the Request URI.  Having this ability would
  improve the cache hit ratio overall where a pool of caching proxies is
  used.
 We have sort of given up on the peer-to-peer cache fetches using
 dedicated protocols, but if you are able to tell that another
 varnish is a better place to pick up something, nothing prevents
 you from making that a backend of this varnish and doing
 a pass on the request.

No, I think what he means is selecting the backend based on client-ip
modulo number-of-backends so each client always gets the same backend
(which makes session tracking much easier)

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Not caching immediately?

2008-02-13 Thread Dag-Erling Smørgrav
Aaron Pfeifer [EMAIL PROTECTED] writes:
 In case anyone runs into the same problem, with the help from the folks on
 #varnish, the problem is that piping a POST will cause the cache to be
 bypassed if the session remains open.  The solution is to either:

 (1) Upgrade to trunk (I was using 1.1.2)
 (2) Add set req.http.connection = close; immediately before the pipe for
 a POST

No, trunk will handle POST correctly in pass mode which makes this
unnecessary.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Using varnish

2008-02-13 Thread Anders Vännman
Hi,

We are in the process of evaluating Varnish as an alternative for Squid
for our sites. We have got an internal varnish up and running and it seems
just great. Of course I have many questions, is there anyone on a swedish
newspaper using varnish?

// Anders Vännman


___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Using varnish

2008-02-13 Thread Fredrik Nygren
I'm a member of the development team at Gota Media which runs four  
swedish newspapers (Barometern.se, BLT.se, BT.se and SMP.se). Right  
now we are evaluating Varnish and it looks good.

Let's keep in touch!

Regards
Fredrik Nygren
Gota Media

On 13 feb 2008, at 18.58, Erik Torlen wrote:

Do you just want to know a swedish newspaper that's using varnish?

If so, Aftonbladet and SvD is both using varnish.

/ Erik

Anders Vännman skrev:
 Hi,

 We are in the process of evaluating Varnish as an alternative for  
 Squid
 for our sites. We have got an internal varnish up and running and it  
 seems
 just great. Of course I have many questions, is there anyone on a  
 swedish
 newspaper using varnish?

 // Anders Vännman


 ___
 varnish-misc mailing list
 varnish-misc@projects.linpro.no
 http://projects.linpro.no/mailman/listinfo/varnish-misc



___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Hälsar
/Fredrik

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc