Re: [squid-users] Too many objects in cache?

From: Michael Leong <Michael.Leong_at_digitalglobe.com>
Date: Mon, 17 Jan 2011 12:01:14 -0800

This a 64bit squid, custom compile.

squid -v
Squid Cache: Version 2.7.STABLE9
configure options: '--prefix=/apps/squid' '--enable-x-accelerator-vary'
'--enable-linux-netfilter' '--enable-cache-digests' '--enable-htcp'
'--enable-snmp' '--enable-referer-log' '--enable-useragent-log'
'--enable-delay-pools' '--enable-icmp' '--enable-async-io=500'
'--with-maxfd=10240' '--enable-removal-policies=lru,heap'
'--enable-follow-x-forwarded-for' '--enable-epoll' '--with-large-files'

thx

On 1/17/2011 11:39 AM, Michael Leong wrote:
> Hi,
> My squid installation keeps crashing w/ the following error:
>
> assertion failed: filemap.c:78: "fm->max_n_files <= FILEMAP_MAX_SIZE"
>
> cache.log:
>
> Validated 57365064 Entries
> store_swap_size = 545677160k
>
> cache config:
> cache_dir aufs /squid-disk-b/squid-cache-01 204800 1092 256
> cache_dir aufs /squid-disk-b/squid-cache-02 204800 427 256
>
> cache_dir aufs /squid-disk-c/squid-cache-01 204800 427 256
> cache_dir aufs /squid-disk-c/squid-cache-02 204800 427 256
>
> store_avg_object_size 15 KB
>
>
> swap.state sizes:
> /squid-disk-b/squid-cache-01: 1.2G
> /squid-disk-b/squid-cache-02: 933M
> /squid-disk-c/squid-cache-01: 933M
> /squid-disk-c/squid-cache-02: 933M
>
> system config:
> filesystem: xfs
> mount options: noatime,nodiratime,logbufs=8
> 32GB of RAM, squid using 9.2G resident according to top
> df says each squid disk is using 271GB, 230GB still available
>
> any ideas on how to fix this?
>
> mike
>
>
> This electronic communication and any attachments may contain
> confidential and proprietary information of DigitalGlobe, Inc. If you
> are not the intended recipient, or an agent or employee responsible
> for delivering this communication to the intended recipient, or if you
> have received this communication in error, please do not print, copy,
> retransmit, disseminate or otherwise use the information. Please
> indicate to the sender that you have received this communication in
> error, and delete the copy you received. DigitalGlobe reserves the
> right to monitor any electronic communication sent or received by its
> employees, agents or representatives.
>

This electronic communication and any attachments may contain confidential and proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee
responsible for delivering this communication to the intended recipient, or if you have received
this communication in error, please do not print, copy, retransmit, disseminate or
otherwise use the information. Please indicate to the sender that you have received this
communication in error, and delete the copy you received. DigitalGlobe reserves the
right to monitor any electronic communication sent or received by its employees, agents
or representatives.
Received on Mon Jan 17 2011 - 20:01:21 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 18 2011 - 12:00:03 MST