Re: virtual memory/cache hitrate problem

2009-05-20 Thread Loesche, Lukas, scoyo
> You don't say if your 30GB is 30M 1k objects or 3M 10k object It's mostly >50kb <2MB SWF, PNG, MP3, FLV files. 360232 of them. > trim this somewhat down with the obj_workspace paramter), so 50GB > may not be enough to hold 30GB of objects. Well my problem is that I don't even hit the 30GB limi

virtual memory/cache hitrate problem

2009-05-17 Thread Loesche, Lukas, scoyo
Hi everyone, I'm running varnish (2.0.2) on Linux x64 inside Virtuozzo Containers 4.0. The container has got 2GB core memory assigned. I have a backend that holds about 30GB binary objects. Varnish is set to assign a ttl of 30 days to each object it caches. I start varnish with -s file,/var/lib/

Re: Purge and cache content mist.

2009-03-23 Thread Loesche, Lukas, scoyo
> on my setup i only have one host. i'm sure you can restrict that to one single > host, but i don't know by heart. I don't think you can. At least I couldn't find any method to do host based purging without using the PURGE HTTP Method. > if url.purge can't do that you can setup url purging >

RE: Purge and cache content mist.

2009-03-23 Thread Loesche, Lukas, scoyo
> From: Sébastien FOUTREL ... > Is there a way to find if something is in the cache, have a map of cached > content or some script that give one ? http://varnish.projects.linpro.no/wiki/FAQ#CanIseewhatVarnishholdsinthecache > Is it possible to do recursive purge in a way or another ? http://va

caching everything incl. 403?

2008-12-16 Thread Loesche, Lukas, scoyo
Hi, our goal is to cache 'everything' for a while. Status 200 responses should be kept for a week, everything else for 5 minutes. However I had some problems figuring out what makes an object "cacheable" and what doesn't. Our vcl: ... ... sub vcl_fetch { /* Set NON-200 c

Re: Varnish and sticky sessions

2008-11-13 Thread Loesche, Lukas, scoyo
JT Justman wrote: > Never tried it, but it seems to me you could read a cookie in VCL to > determine the backend to use. This is how most load balancers handle > sticky sessions, right? That's one way. Another way that doesn't involve cookies or server side session tables and which is generally mo