varnish don't set malloc size,varnish cache data only 200M size
Nils Goroll
slink at schokola.de
Tue Oct 29 08:19:25 UTC 2019
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
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20191029/c9e9d680/attachment.html>
More information about the varnish-misc
mailing list