What if Varnish runs out of memory?

Know that by running Varnish, you are essentially saving a lot of memory. The caching aspect of Varnish makes it that the X amount of memory you allocate to it is shared amongst several visitors. For example, a PHP script that takes 16MB of memory to run for one connection will now take 32KB of memory when running with Varnish. Do the math and see how much performance and capacity you're squeezing out of your current hardware!

When Varnish can't find additional memory to cache objects, it leverages the Linux kernel to move unused objects to the disk. Varnish is so efficient that visitors barely notice any of the cache management business. It's all transparent and fast.

  • 13 Users Found This Useful
Was this answer helpful?

Related Articles

How do I uninstall the cPanel Varnish Plugin?

Here are the steps to remove the cPanel Varnish Plugin from your server. It's recommended that...

I've installed the cPanel Varnish Plugin, now what?

No action is required from your end. The installation script takes care of installing and...

Where can I download the installer?

The installer is in the Client Area location. Simply login to your account at...