how to check whether varnish use memory for cache

Geoff Simmons geoff at uplex.de
Thu Feb 16 09:18:09 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/16/12 04:24 AM, Jewel Nuruddin wrote:
> 
> 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?

In Varnish 3.x, varnishstat -1 and varnishadm show you stats about
malloc usage in the SMA.s0.* fields.

I don't remember exactly how it looks in Varnish 2.x, at any rate the
field names were different.


Best,
Geoff
- -- 
** * * UPLEX - Nils Goroll Systemoptimierung

Schwanenwik 24
22087 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJPPLvBAAoJEOUwvh9pJNURwvkP/j1xQJ8dktqeyOLKkl1OURkH
Qn71iKZMSoIoytCOOuGv3CWdFIN3uO2YtyCqhMk0B5gKKiVw04tIbKYGMjXyj68/
9ac8T8AIa3iBlcQmKigGJQoW4X77oy8sXXvpIa7yJBd0OzUTWxE/EZj0GqadWghu
58zzQVMo8e79DwIkR649O7Ad6/bwEgoEB1hFhtrSKy5/CH5uG2/hdw/lWDRIlecR
OoNodjU/nuxNHjCu0KDMhOKIxUhzS+izwjkv/lphw7d4L1ARkiLXZnrlxRIffU3B
ZzQMlRypxexCl0nh1lzIccpTHEcPPbPdm8edkMYnljI5oghB5WX57s8AWk0HbAGt
wszSkg6eAsxP1Xmux7HJyB7ovTRdhn0RYLfDCzg85CLZ8jMIU/NbyjIgifuygYpq
iBWpxVuzzDtajaArboNvwR3W6hyjll5NcWmKDupCeQv8VUZG0E8due15/h5l20bg
ttmBrE163jjaaPmo2GblZ4t4lnzrj6V66tc1hS0eQYWBROBwrLLiwt6ZoB2loFxA
kzjswluXimnZeXwCh5wu3vK0cUQ0nxYhZsgcRit4MCzttEX+d4Iza5QaTgmV8t+p
clck/L7lnru1l/7qr/e3prMvz+5Rhsfk1Y12zRebEcivurXYuH0dHOWpWyplDY6J
c0YifNlZZopHswI25Qh0
=WESk
-----END PGP SIGNATURE-----



More information about the varnish-misc mailing list