Re: resizing swap size

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 20 Apr 2000 17:57:19 +0200

Wojciech Puchar wrote:
>
> i wanted to cut down swap size from 8 do 4GB
> so i changed two cache_dir's (asyncufs) to 2048 instead of 4096
> and done /usr/local/squid/bin/squid -k reconfigure
>
> and...

...

> what did i wrong?

asyncufs can't handle massive deletetions very well. You have to do it
in incremental steps or temporary switch to the normal "ufs" store
driver.

1. Decrease cache_swap_low to widen the storage maintencance gap. The
gap should probably be in the range of 20% (low = 75, high = 95).

2. When Squid has stabilized after the above change, decrease the cache
size by 50% of the gap (10% of the size). Repeat until satisfied with
the used cache size.

3. Reconfigure Squid to use the cache_dir size you want, and normal
high/low values.

--
Henrik Nordstrom
Squid hacker
Received on Thu Apr 20 2000 - 10:07:15 MDT

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