Travis.Crowder at penton
Jun 22, 2012, 3:16 PM
Post #4 of 4
Thank you. That about "1k per object for internal structures" is what I was looking for.
Re: Varnish using more RAM than allocated
[In reply to]
Sent from my iPhone
On Jun 22, 2012, at 4:04 PM, "Per Buer" <perbu [at] varnish-software<mailto:perbu [at] varnish-software>> wrote:
On Fri, Jun 22, 2012 at 8:45 PM, Crowder, Travis <Travis.Crowder [at] penton<mailto:Travis.Crowder [at] penton>> 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.
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>