Re: You need to recompile with a larger value for MAX_SWAP_FILE

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 10 Jan 1998 02:22:20 +0100

Gatt, Noel wrote:
>
> I really don't see why one needs to lower the value of
> store_avg_object_size in squid.conf when error message says that you
> need to rebuild squid with a larger value for MAX_SWAP_FILE. What is,
> then, the relationship between these parameters ? In store.c,
> MAX_SWAP_FILE is set as follows :
>
> static int MAX_SWAP_FILE = 1<<21;

If you search a bit further in store.c, you'll see that the value is
then changed to a calculated value based on cache size and average
object size.

The message is a old message that should have been updated, but....

---
Henrik Nordström
Sparetime Squid Hacker
Received on Fri Jan 09 1998 - 17:53:48 MST

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