Re: Bug fix 601 - Will be in the next release?

2010-01-27 Thread John Norman
Yes, but the workarounds seem to replace x-forwarded-for with another header, e.g., X-Real-Forwarded-For (https://wiki.fourkitchens.com/display/PF/Workaround+for+Varnish+X-Forwarded-For+bug). And the FAQ entry (http://varnish-cache.org/wiki/FAQ#HowcanIlogtheclientIPaddressonthebackend) seems to as

Re: Varnish graphs

2010-01-27 Thread Mark Moseley
On Wed, Jan 27, 2010 at 2:37 PM, pablort wrote: > Hello there, > > I've sucessfully created graphics based on varnishstat -1 output using cacti > and snmp and I'd really like to do the same thing using varnishtop to graph > TxStatus responses, but it didn't work as I expected. > > $ varnishtop -1

Re: [varnish] Re: [varnish] Re: Handling of cache-control

2010-01-27 Thread pablort
Isn't this the equivalent of and max-age=5 and s-maxage=0 ? On Wed, Jan 20, 2010 at 7:19 AM, Bedis 9 wrote: > Hi, > > Netcache devices had the X-Accel-Cache-Control headers in order to > allow an origin server to setup different Cache-Control parameters for > the cache and the end-user. > The ne

Re: Bug fix 601 - Will be in the next release?

2010-01-27 Thread pablort
Have you tried google "varnish x-forwarded-for" ? There an FAQ entry addressing that (somewhat). []'s On Wed, Jan 27, 2010 at 3:47 PM, John Norman wrote: > Folks, > > Will the fix for http://varnish-cache.org/ticket/601 (cf. > http://varnish-cache.org/ticket/540) be in the next release? > > My

Varnish graphs

2010-01-27 Thread pablort
Hello there, I've sucessfully created graphics based on varnishstat -1 output using cacti and snmp and I'd really like to do the same thing using varnishtop to graph TxStatus responses, but it didn't work as I expected. $ varnishtop -1 -i TxStatus 29481.00 TxStatus 3280.00 TxStatus 1196.00 T

Re: Release schedule for saint mode.

2010-01-27 Thread pablort
I'll try to setup a lab environment and replay my acesslogs there until it crashes. Need to finish graphics thou. :) On Mon, Jan 25, 2010 at 7:26 AM, Tollef Fog Heen wrote: > ]] pablort > > | And how about 2.1 ? Any release date on the horizon ? :D > > Persistent needs more testing before we can

Re: Release schedule for saint mode.

2010-01-27 Thread Ken Brownfield
Right, -spersistent. Child restarts are persistent, parent process stop/start isn't. Maybe there's a graceful, undocumented method of stopping the parent that I'm not aware of? -- kb On Jan 27, 2010, at 1:26 AM, Tollef Fog Heen wrote: > ]] Ken Brownfield > > | I'd love to test persistent u

Bug fix 601 - Will be in the next release?

2010-01-27 Thread John Norman
Folks, Will the fix for http://varnish-cache.org/ticket/601 (cf. http://varnish-cache.org/ticket/540) be in the next release? My Varnish gets a x-forwarded-for from another server: What will the VCL be to use that instead of whatever Varnish tries to append? John

Re: 504 gateway time-out

2010-01-27 Thread Vladimir Vuksan
Yes 504 is certainly given out by haproxy. It is known to do that :-/. On Wed, 27 Jan 2010, Angelo Höngens wrote: On 27-1-2010 8:58, Tollef Fog Heen wrote: ]] Angelo Höngens | Can anyone tell me when a "504 Gateway Time-out" occurs exactly? | | I have varnish in front of haproxy, and whatev

Re: Release schedule for saint mode.

2010-01-27 Thread Tollef Fog Heen
]] Ken Brownfield | I'd love to test persistent under production load, but right now it's | not persistent. :-( (Storage doesn't persist through a parent restart) That sounds like a real bug. Just to be sure, you're testing with -spersistent, not -smalloc or -sfile? -- Tollef Fog Heen Redpil

Re: Varnish Prefetch

2010-01-27 Thread Paras Fadte
Hi Tollef, Thanks for the response. -Paras On Mon, Jan 25, 2010 at 2:57 PM, Tollef Fog Heen wrote: > ]] Paras Fadte > > | Is prefetch by default enabled in varnish ? > > No, it is not implemented and any references to it should be ignored. > It is also removed in trunk. > > -- > Tollef Fog Heen

Re: Varnish Prefetch

2010-01-27 Thread Paras Fadte
Hi Poul, Thanks for the response . So with grace mode is it possible to fetch an object from backend about "x" seconds before its "expires" time is reached ? Thank you. -Paras On Mon, Jan 25, 2010 at 2:14 PM, Poul-Henning Kamp wrote: > In message <75cf5801001241820w3e4afd34v64ad2031b8b7...@mai

Re: 504 gateway time-out

2010-01-27 Thread Angelo Höngens
On 27-1-2010 8:58, Tollef Fog Heen wrote: > ]] Angelo Höngens > > | Can anyone tell me when a "504 Gateway Time-out" occurs exactly? > | > | I have varnish in front of haproxy, and whatever I do to, I can only get > | a "503 Service Unavailable" error, while my clients sometimes tell me > | they