Varnish burns the CPU and eat the RAM
Romain LE DISEZ
romain.ledisez at netensia.fr
Thu Mar 3 17:57:11 CET 2011
Hello Martin,
Le jeudi 03 mars 2011 à 11:01 +0100, Martin Boer a écrit :
> Wat does happen when you limit the amount of memory/space used ? Say
> something like
>
> -s file,/mnt/varnish/varnish_storage.bin,7G
I did that :
# free -m
total used free
Mem: 7964 156 7807
-/+ buffers/cache: 156 7807
# /etc/init.d/varnish start
Starting varnish HTTP accelerator: [ OK ]
# free -m
total used free
Mem: 7964 5044 2920
-/+ buffers/cache: 5044 2920
# ps uax | grep varnish
/usr/sbin/varnishd [...] -s file,/mnt/varnish/varnish_storage.bin,1G -p thread_pools 4
Even with a limit of 1G, it consumes 5G of RAM. Could it be related to
the number of thread ?
--
Romain LE DISEZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3354 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110303/a7f2063a/attachment-0003.bin>
More information about the varnish-misc
mailing list