Search squid archive

Re: disk-cache maximum object size is too large for mem-cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/3/22 13:14, luc.bar@xxxxxxxxx wrote:
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?

Yes, it is a known bug. I do not recall whether there is a bug report for it, but I know that we have to work around it in some tests (by explicitly increasing maximum_object_size_in_memory).


HTH,

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux