Re: Swap file numbers! Help!

From: Bill Wichers <billw@dont-contact.us>
Date: Mon, 22 Dec 1997 11:53:14 -0500 (EST)

I was using the default store_avg_object_size of 20k. I used someone elses
suggestion and calculated the actual average object size to be about 11.5k
for my cache, so I set store_avg_object_size to 11k. Everything seems to
be OK now (sure hope it stays that way! :-)

        -Bill

On Mon, 22 Dec 1997, Stewart Forster wrote:

> >
> > 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 Mon Dec 22 1997 - 09:07:16 MST

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