<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You can issue a ps auwx | grep varnish and look at the line for the
process:<br>
<br>
/usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f
/etc/varnish/default.vcl -T XX.XX.XX.XX:XX -t 120 -w 100,4000,120 -u
varnish -g varnish -S /etc/varnish/secret -s malloc,2G<br>
<br>
This shows Varnish is using malloc and is allocated 2G of memory.<br>
<br>
You can also issue top and find the varnishd entry:<br>
<br>
23193 varnish 15 0 4064m 1.5g 81m S 2.0 15.8 70:19.87
varnishd<br>
<br>
This shows we are using 1.5G of resident memory for our Varnish
instance.<br>
<br>
HTH,<br>
Travis<br>
<br>
On 2/15/2012 9:24 PM, Jewel Nuruddin wrote:
<blockquote
cite="mid:CALy9wpKjBpMMJKTjfN7_19b29voLyfBursSYo7cYfJ0gvZFFwQ@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
Hello<br>
I am using malloc for varnish.<br>
How can I check malloc is working and also how can I check whether
my cached is using this malloc?<br>
Thanks<br>
Jewel<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
varnish-misc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></pre>
</blockquote>
</body>
</html>