[squid-users] What would be the maximum ufs\aufs cache_dir objects?

Alex Rousskov rousskov at measurement-factory.com
Fri Jul 14 16:17:47 UTC 2017


On 07/14/2017 06:37 AM, Eliezer Croitoru wrote:
> What would be the maximum ufs\aufs cache_dir objects?

The maximum number of objects currently supported by any single
cache_dir (rock or ufs-based) is approximately 16777215.

> src/store/forward.h:enum { SwapFilenMax = 0xFFFFFF }; // keep in sync with StoreEntry::swap_filen


There is no practical limit for the number of cache_dirs although Squid
does use linear search through cache_dirs in some cases/configurations.

Alex.


More information about the squid-users mailing list