On 16/02/2015 8:41 a.m., Mohammad Shakir wrote: > We are using squid 3.4.9 on centos 64bit and getting following error. > > > assertion failed: filemap.cc:72: "capacity_ <= (1 << 24)" This is http://bugs.squid-cache.org/show_bug.cgi?id=3566 The filemap is a 24-bit map value used to represent the on-disk file names. This assertion means that you are trying to store greater than 2^24 files in one of your cache_dir. > > In cache directory swap.state file size is. > > > -rw-r----- 1 squid squid 1.2G Feb 16 00:15 swap.state > > Should we upgrade to new version to resolve this issue ? The workaround for this is increasing the frequency of cache LRU garbage collection, reducing its total size, and/or using the min-size/max-size parameters to split the cache_dir into size range brackets so you never end up with a GB sized cache storing under-1KB objects or a TB cache storing under-100KB sized objects. Upgrading to 3.5 series will allow you to store objects between 32Kb and 100KB in a Rock cache to avoid the TB size issues. But that is all. Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users