Hi,<br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 8:42 PM, Crowder, Travis <span dir="ltr"><<a href="mailto:Travis.Crowder@penton.com" target="_blank">Travis.Crowder@penton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">For example, I have a box that is allocated 6G of RAM, but it is using about 12G virtual memory.</p></div></div></blockquote><div><br></div><div>Don't worry about virtual memory usage. Itīs not real, itīs virtual.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">>top<u></u><u></u></p>
<p class="MsoNormal">9101 nobody 20 0 11.7g 6.8g 81m S 6.0 88.5 1270:21 varnishd<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Varnish is invoked via:<u></u><u></u></p>
<p class="MsoNormal">/usr/local/sbin/varnishd -f /usr/local/etc/varnish/default.vcl -s malloc,6G -T xxx.xxx.xxx.xxx:2000 -a :80<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Does anyone know what I am talking about?</p></div></div></blockquote><div><br></div><div>You allocate 6G to the malloc backend. In addition Varnish needs memory for itself and data structures (1kb per object, more or less).</div>
<div><br></div></div><div><br></div>-- <br><img src="http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png"><div>Per Buer<br>Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer<br>
<i>Varnish makes websites fly!</i><div><a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>
<br></div></div><br>