In Varnish, is it normal for the number of freed bytes to be 60% of those allocated?
Posted
by
user331397
on Server Fault
See other posts from Server Fault
or by user331397
Published on 2012-03-19T16:32:54Z
Indexed on
2012/03/19
18:07 UTC
Read the original article
Hit count: 244
I have an installation of Varnish 3.02 on an Amazon EC2 Medium Linux instance in front of two relatively low-traffic websites. After an uptime of 2 hours, there are 3400 objects in the cache. Using varnishstat, I checked the variables SMA.s0.c_bytes and SMA.s0.c_freed, which I assume correspond to the total number of bytes allocated since startup and the number freed, respectively. No objects should have had time to expire during these two hours, but still about 60% of the memory allocated since startup (330MB out of 560MB) has already been freed. Do you know if this is normal? If not, do you know what kind of configuration could be wrong?
© Server Fault or respective owner