Varnish using more RAM than allocated

Crowder, Travis Travis.Crowder at penton.com
Sat Jun 23 00:16:43 CEST 2012


Thank you.  That about "1k per object for internal structures" is what I was looking for.

Sent from my iPhone

On Jun 22, 2012, at 4:04 PM, "Per Buer" <perbu at varnish-software.com<mailto:perbu at varnish-software.com>> wrote:



On Fri, Jun 22, 2012 at 8:45 PM, Crowder, Travis <Travis.Crowder at penton.com<mailto:Travis.Crowder at penton.com>> wrote:
I recall seeing on the mailing list before a reason why Varnish would use more RAM than allocated due to storing something outside of the defined allocated memory.

For example, I have a box that is allocated 6G of RAM, but it is using about 12G virtual memory.

That doesn't make sense. Virtual memory is virtual. You're not using it, Varnish has mapped it into it's memory space. Just ignore it.

Also, note that allocating memory to a backend (6G) does not include the amount of memory needed for the various internal structures - more or less 1k per object.

--
[http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png]
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/20120622/8beb5f01/attachment.html>


More information about the varnish-misc mailing list