You can issue a ps auwx | grep varnish and look at the line for the process:
/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
This shows Varnish is using malloc and is allocated 2G of memory.
You can also issue top and find the varnishd entry:
23193 varnish 15 0 4064m 1.5g 81m S 2.0 15.8 70:19.87 varnishd
This shows we are using 1.5G of resident memory for our Varnish instance.
HTH,
Travis
On 2/15/2012 9:24 PM, Jewel Nuruddin wrote:
Hello
I am using malloc for varnish.
How can I check malloc is working and also how can I check whether my
cached is using this malloc?
Thanks
Jewel
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc