Varnish 2.0.3 consuming excessive memory

Darryl Dixon - Winterhouse Consulting darryl.dixon at winterhouseconsulting.com
Wed Apr 8 22:40:39 CEST 2009


> hi darryl
>
> i had a simlar problem (varnish child process consuming lots of memory) a
> week
> ago (see the thread "make varnish don't start a subprocess")
>
> the solution for my problem seems to be to use a high-enough cache-size:
>
> starting varnish with
>
>   -s file,"/tmp/storage",300M
>
> will make the child process use *about* 800M RAM (the RES column in top)
> after
> some hours. after that i needed to restart varnish to free some ram for my
> webserver.
>
>
> starting with a bigger cache
>
>   -s file,"/tmp/storage",600M
>
> makes it using about 500M RAM (the RES column in top after 5 days of
> uptime)
> and happily coexist with zope ;-)
>
>
>
> maybe this helps you too.
>

Hi Harald,

That is a very interesting observation - I will give it a try.

regards,
Darryl Dixon
Winterhouse Consulting Ltd
http://www.winterhouseconsulting.com



More information about the varnish-misc mailing list