Varnish on ubuntu, malloc configuration

Boris Guéry guery.b at gmail.com
Wed Jan 6 21:49:07 CET 2016


Try adding `set -x` to your `/etc/init.d/varnish` and restart it to
have a better clue of where values are from and if there are any
sourced files.

Most likely `DAEMON_OPTS` are overridden somewhere.

Le 06/01/2016 19:54, Bertrand Caplet a écrit :
> Hi all, I have installed varnish a while ago on a ubuntu server but
> now I need varnish to use less memory. I did configure in
> /etc/default/varnish the DAEMON_OPTS to : "-a :6081 \ -T
> localhost:6082 \ -f /etc/varnish/default.vcl \ -S
> /etc/varnish/secret \ -p thread_pools= 8 \ -p thread_pool_max=50 \ 
> -s malloc,128m" but varnish is still configured with malloc,256m. I
> also tried to change directly configuration in /etc/init.d/varnish
> but same problem.
> 
> Do you have a clue ?
> 
> Thanks in advance,
> 
> 
> 
> _______________________________________________ varnish-misc
> mailing list varnish-misc at varnish-cache.org 
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
> 



-- 
Boris Guéry

twitter: @borisguery
mobile:  +33 6 86 83 03 12
skype:   borisguery
pgp:     0x034C6265



More information about the varnish-misc mailing list