You need to delete the cache, or else Squid will recreate swap.state
from the cached objects.
With a little UNIX scripting you can easily set up to run the delete in
the background after restarting Squid.
Small UNIX script to delete a Squid cache directory in the background:
#!/bin/sh -e
if [ $# -ne 1 ]; then
  echo "Usage: $0 cache_dir"
   exit 1
fi
cd $1
temp=delete.$$
mkdir $temp
mv [0-9][0-9] $temp/
rm -rf $temp &
Regards
Henrik
  
mån 2002-11-11 klockan 10.18 skrev Dave Raven:
>     I read through the FAQ and it suggested that in order
>     to quickly dump the cache on a box; I should just 
>     remove swap.state. (I need to do it through a web 
>     based gui; so deleting the directories and recreating them
>     will take far too long
Received on Mon Nov 11 2002 - 03:38:33 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:16 MST