memory issue when running varnishncsa
perbu at varnish-software.com
Mon Oct 1 09:45:17 CEST 2012
When you're writing stuff to disk you are increasing pressure on the VM.
The VM might try to do something smart and decide it needs a lot more
memory for caching the log files you're writing to. That might starve
I would run it again and have Munin or something similar recording what is
happening so you'll know.
On Fri, Sep 28, 2012 at 5:31 PM, Zheng Liu <huozhe at gmail.com> wrote:
> Thanks for the info. I remember I was seeing the ram usage by varnishncsa
> did not change a lot. I didn't take any screen shot, so I may remember
> wrong. Let me try it one more time and see what happened. Could it be the
> log dumping to disk can't keep up with the insertion rate, so varnish has
> to allocate more for the in-memory logging? Just a guess.
> On Fri, Sep 28, 2012 at 6:46 AM, Per Buer <perbu at varnish-software.com>wrote:
>> On Thu, Sep 27, 2012 at 5:47 PM, Zheng Liu <huozhe at gmail.com> wrote:
>>> 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 <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
>> Twitter <https://twitter.com/varnishsoftware>
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc