Re: Swap file numbers! Help!

From: Stewart Forster <slf@dont-contact.us>
Date: Mon, 22 Dec 1997 16:23:46 +1100

>
> Got a .19 doing it here too. Is this a .19 'feature'?
>

        Found the problem. On line 1759 in store.c, you'll see that
MAX_SWAP_FILE gets set to be 1.5 times the predicted number of swap files.

        There are two ways of fixing this:

(not recommended)
1) Recompile - edit store.c and change the multiplier from * 3 / 2 to * 2

(recommended)
2) Edit config and restart squid - Change the store_avg_object_size value
down. You obviously have it set WAY too high. Whatever value is there now,
halve it and you should then be fine.

        Cheers,

                Stew.
Received on Sun Dec 21 1997 - 21:28:01 MST

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