[squid-users] disk-cache maximum object size is too large for mem-cache

luc.bar at libero.it luc.bar at libero.it
Thu Nov 3 17:14:15 UTC 2022


I'm using squid 4.17 and noticed in cache.log this warning:

WARNING: disk-cache maximum object size is too large for mem-cache: 4096.00 KB > 512.00 KB

but if I'm not wrong those are the default values of:


NAME: maximum_object_size
COMMENT: (bytes)
TYPE: b_int64_t
DEFAULT: 4 MB
LOC: Config.Store.maxObjectSize
DOC_START Set the default value for max-size parameter on any cache_dir. The value is specified in bytes, and the default is 4 MB.

and 

NAME: maximum_object_size_in_memory
COMMENT: (bytes)
TYPE: b_size_t
DEFAULT: 512 KB
LOC: Config.Store.maxInMemObjSize
DOC_START Objects greater than this size will not be attempted to kept in the memory cache. This should be set high enough to keep objects accessed frequently in memory to improve performance whilst low enough to keep larger objects from hoarding cache_mem.

so it seems that the default values are itself reported as a warning?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20221103/cedacb7a/attachment-0001.htm>


More information about the squid-users mailing list