0
votes

I have a problem with varnish server. The main task of the varnish is to cache images. In the configuration, I specified TTL to 365d for images. What I've noticed, after one day I receive X-Cache MISS header.

After doing one more request is HIT, but after a day is MISS again. Why is that happening? The varnish service has 30 GB RAM memory available (100% usage) and uses 45 GB of virtual memory additionally. Images are being removed because of lack of space?

1

1 Answers

0
votes

Most likely yes. Check the lru_nuked counter in varnishstat, if it is more than 0 then you have not enough space for caching.