Varnish virtual memory usage
Roi Avinoam
roi at metacafe.com
Mon Sep 21 13:55:07 CEST 2009
Hey,
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
Programmer
Metacafe
http://www.metacafe.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.linpro.no/pipermail/varnish-misc/attachments/20090921/9852c6a8/attachment-0001.htm
More information about the varnish-misc
mailing list