Varnish virtual memory usage

Roi Avinoam roi at
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



Roi Avinoam



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list