Re: [squid-users] max number of files in cache?

From: lawrence wang <levity@dont-contact.us>
Date: Sun, 21 May 2006 12:48:53 -0400

i see. so i can work around this for now by splitting my cache_dir
into multiple ones? it's currently set at 300GB.

On 5/19/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> fre 2006-05-19 klockan 11:03 -0400 skrev lawrence wang:
> > today i got a squid crash with this entry in the log:
> >
> > 2006/05/19 11:38:16| assertion failed: filemap.c:78: "fm->max_n_files
> > <= (1 << 24)"
> >
> > does this mean that squid has a limit on the maximum number of files
> > that can be in the cache?
>
> Yes, there is a limit of 2^24 objects per cache_dir.
>
> How large cache_dir do you have? 2^24 files normally translates to
> somewhere around 160 GB.
>
>
> Please file a bug report on this issue. Squid should not crash only
> because there is very many objects in the cache.
>
> http://www.squid-cache.org/bugs/
>
> Regards
> Henrik
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQBEblHiB5pTNio2V7IRAtbmAJ90JCiEDO8kmixd5Hxz4LA4x/sSugCg2f6u
> d9J+j22zc0ywdYX3PrWcFr0=
> =au6E
> -----END PGP SIGNATURE-----
>
>
>
Received on Sun May 21 2006 - 10:48:55 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT