memory issue when running varnishncsa

Per Buer perbu at
Fri Sep 28 15:46:23 CEST 2012


On Thu, Sep 27, 2012 at 5:47 PM, Zheng Liu <huozhe at> wrote:

> Hi,
> I tried to use varnishncsa to generate log on disk, so I can have another
> daemon tail and analyze it. However, when I enable it, I see varnishd
> starts to use more and more memory. I am using varnish-3.0.3 on Ubuntu
> 11.10. The box has 190G and I configured varnish to use 160G. Its footprint
> has been stable at 180G for months. Then after I started varnishncsa,
> within 5 hours, all the memory was gone and it starts to use swap. I wonder
> if this is expected behavior, and we are suppose to allow more head room
> during logging with varnishncsa?

There have been some reports of a varnishleak in varnishncsa - but in the
cases I've seen it's varnishncsa  itself which balloons up. Would that be
the case here aswell?

Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <> |
Video<> |
Twitter <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list