varnish don't set malloc size,varnish cache data only 200M size

Nils Goroll slink at
Tue Oct 29 08:19:25 UTC 2019

You are right, the documentation is wrong. The default is 100m

I opened - thank you
for reporting.

The only way to get a bigger cache is to configure the maximum size.

On 29/10/2019 04:43, li yiyi wrote:
> hi, i use varnish6.2.0 to cache image, my machine memory is 16g, varnish
> malloc do not set size and use the default。
> i see the documentation from, the default size is unlimited.
> my test images size about 6g,when i send http request to
> varnish,only a little images can cache from varnish, about 200m size. most of
> them is miss.
> my some varnish settings as follows:
> /usr/local/varnish/sbin/varnishd -a,HTTP -f
> /usr/local/varnish/etc/default.vcl
> when i set malloc size(8g),varnish is working ok, malloc must be seted specify
> size?how i can do if use unlimited ? 
> thank you,regards
> --------------------------------------------------------------------------------
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list