Varnish virtual memory usage

Caunter, Stefan scaunter at topscms.com
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 projects.linpro.no <varnish-misc-bounces at projects.linpro.no>
To: varnish-misc at projects.linpro.no <varnish-misc at projects.linpro.no>
Sent: Mon Sep 21 07:55:07 2009
Subject: Varnish virtual memory usage

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: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20090925/a8f7c464/attachment-0002.html>


More information about the varnish-misc mailing list