Re: You should increment MAX_SWAP_FILE ??

From: Joe Ramey <ramey@dont-contact.us>
Date: Fri, 19 Dec 1997 13:48:40 -0600

   Date: Fri, 19 Dec 1997 17:22:46 +0100 (MET)
   From: Ivan Debnar <debnar@pollux.sk>
   X-Sender: debnar@bb.web.sk
   Content-Type: TEXT/PLAIN; charset=US-ASCII
   Resent-From: squid-users@nlanr.net
   X-Mailing-List: <squid-users@nlanr.net> archive/latest/425
   X-Loop: squid-users@nlanr.net
   Precedence: list
   Resent-Sender: squid-users-request@nlanr.net

   I see following message in cache.log file. What does it mean and
   how can I change it (where) ?

I started getting the `You should increment MAX_SWAP_FILE' message
when I upgraded from 1.1.18 to 1.1.19. It looks like this is no
longer a compile-time size but is computed based on the total size of
the cache and the average object size defined in your squid config.
In my case, the average object size is around 11 Kbytes, but the squid
default is 20 Kbytes, so squid wasn't allocating enough table space
for all the files in the cache.

So, find the definition of `store_avg_object_size' in your squid.conf
and change it to an appropriate value. Changing it from 20 to 10
seemed to work for me.

Joe
Received on Fri Dec 19 1997 - 11:57:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:00 MST