Varnish restarts when all memory is allocated

Marco Walraven m.walraven at terantula.com
Wed May 27 11:32:32 CEST 2009


On Wed, May 27, 2009 at 10:31:30AM +0200, Kristian Lyngstol wrote:
> Can you post the arguments you use to start varnish?

Sure; Varnish runs currently as follows:

 5117 ?        Ss     0:00 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/default.vcl -T 127.0.0.1:6082 -t 3600 -w 400,4000,60 -s file,/data/varnish/mp-varnish001/varnish_storage.bin,500G -p obj_workspace 4096 -p sess_workspace 262144 -p lru_interval 60 -h classic,4550111 -p listen_depth 8192 -p log_hashstring off -p sess_timeout 10 -p shm_workspace 32768 -p ping_interval 1 -p thread_pools 4 -p thread_pool_min 100 -p thread_pool_max 4000 -p srcaddr_ttl 0 -p esi_syntax 1
 5118 ?        Sl     0:01 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/default.vcl -T 127.0.0.1:6082 -t 3600 -w 400,4000,60 -s file,/data/varnish/mp-varnish001/varnish_storage.bin,500G -p obj_workspace 4096 -p sess_workspace 262144 -p lru_interval 60 -h classic,4550111 -p listen_depth 8192 -p log_hashstring off -p sess_timeout 10 -p shm_workspace 32768 -p ping_interval 1 -p thread_pools 4 -p thread_pool_min 100 -p thread_pool_max 4000 -p srcaddr_ttl 0 -p esi_syntax 1

I have to note that I have been running with a lru_interval of 3600 which had the same effect e.g. restarting when it hits the memory limit. 

Marco


-- 
 Terantula - Industrial Strength Open Source
 phone:+31 64 3232 400 / www: http://www.terantula.com / pgpkey: E7EE7A46
 pgp fingerprint: F2EE 122D 964C DE68 7380 6F95 3710 7719 E7EE 7A46 



More information about the varnish-misc mailing list