Varnish virtual memory usage
roi at metacafe.com
Mon Sep 21 13:55:07 CEST 2009
At Metacafe we're testing the integration with Varnish, and I was tasked with benchmarking our Varnish setup. I intentionally over-flooded the server with requests, in an attempt to see how the system will behave under extensive traffic. Surprisingly, the server ran out of swap and crashed.
In out configuration, "-s file,/var/lib/varnish/varnish_storage.bin,1G". Does it mean Varnish shouldn't use more than 1GB of the virtual memory? Is there any other way to limit the memory/storage usage?
The system has 4GB RAM, 2GB Swap on Red Hat Enterprise. Varnish version 2.0.3
Thanks for your help! :D
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc