Re: [squid-users] work on partition used for cache dir

From: Hasanen AL-Bana <hasanen_at_gmail.com>
Date: Sun, 13 Mar 2011 16:33:49 +0300

I had this issue before , doing squid -k reconfigure or reload doesn't
release cache disk. You need to do squid stop/start.

2011/3/13 V�ctor Jos� Hern�ndez G�mez <vjhergom_at_cic.upo.es>:
> Hi all,
>
> I had planned some work on the ext3 partition used for cache data in our
> squid 3.1.11 instalation, which should be unomunted and mounted after some
> filesystem parameters modifications.
>
> So I thought it could work the following
>
> �1. comment cache_dir line on squid.conf
> �2. add cache deny all
> �3. (reconfigure) squid -k reconfigure
>
> (so users could navigate and ...) �If squid is not using cache data at all,
> then I could modify ext3 params on the partition...
>
> �4. work on partition
> �5. umount partition
> �6. mount
> �7. undo changes on squid.conf and reconfigure
>
> This was not the case, as before I tried to unmount the partition �squid
> still was using swap.state file ... (lsof /partition warned me), so I had to
> undo the work on partition and undo changes on squid.conf...
>
> What asumption was wrong? Should squid free the filedescriptor related to
> swapstate file? Any other approach to get what we need?
>
> Thank you in advanced for your help,
> --
> V�ctor J. Hern�ndez G�mez
>
>
Received on Sun Mar 13 2011 - 13:34:17 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 14 2011 - 12:00:02 MDT