Out of memory exception on Varnish 2.1.5

Connor Walls connor.walls at skillpages.com
Wed Aug 22 17:14:31 CEST 2012

Ah, I was under the impression that varnish would evict items from the cache if memory usage hit the ceiling. Thanks for the help, I look into our configuration and see if there's anything we can do.


From: Per Buer [mailto:perbu at varnish-software.com]
Sent: 22 August 2012 16:12
To: Connor Walls
Cc: varnish-misc at varnish-cache.org
Subject: Re: Out of memory exception on Varnish 2.1.5

Hi Connor,
On Wed, Aug 22, 2012 at 3:49 PM, Connor Walls <connor.walls at skillpages.com<mailto:connor.walls at skillpages.com>> wrote:

We've recently been having problems with varnish being killed with out of memory problems, our logs show information like this:

This is not a bug in Varnish. It is most probably a misconfiguration. You either have to little memory in your system or you are asking Varnish to use too much. I'm guessing you are using -s malloc. Remember that there is a 1k overhead on each object stored in Varnish.


Now, we've been planning from Varnish 2.1.5 to 3.0 for a while, and we're hoping that this will solve our issues, but I just want to check if there are known OOM issues in 2.1.5, or is the problem likely to persist after upgrading to 3.0?

It will probably persist.

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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120822/e2b91aca/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120822/e2b91aca/attachment.jpg>

More information about the varnish-misc mailing list