You are right, the documentation is wrong. The default is 100m I opened https://github.com/varnishcache/varnish-cache/issues/3108 - 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 varnish-cache.org, 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 0.0.0.0:80,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 > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
