Varnish virtual memory usage

Caunter, Stefan scaunter at
Fri Sep 25 14:19:07 CEST 2009

What is the vcl config and what is in the RH system log?
Sent using BlackBerry
416 561 4871

-----Original Message-----
From: varnish-misc-bounces at <varnish-misc-bounces at>
To: varnish-misc at <varnish-misc at>
Sent: Mon Sep 21 07:55:07 2009
Subject: Varnish virtual memory usage



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