Matus UHLAR - fantomas <[EMAIL PROTECTED]> writes:

> I notices that my cache takes more place than it's supposed to. I configured
> it only to purge cache according to used/free FS space, without specifying
> maximum age. But it seems that wwwoffle does not free up enough (configured
> amount) of FS space. 
> Did I do/get something wrong?
> 
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda3              2056320   1602020    351484  83% /var
> 
> Purge
> {
>         use-mtime       = no
>         max-size        = 1024
>         min-free        = 512
>         use-url         = yes
>         del-dontget     = yes
>         del-dontcache   = yes
>         age             = -1
>         compress-age    = 1m
> }
> 
> trying "wwwoffle -purge" results in:
> 
> Pass 1: Checking dates and sizes of files:
>   (Using last access time.)
>   (Using the full URL.)
> 
> [deleted]
> 
> Total of 2797 directories ; 377906 kB (0 kB deleted) (0 kB compressed)
> 
> Age Profile of cached pages:
>   (All ages scaled to the range 0 -> -1 (default age).)
> 
> Total not purged   ; 377906 kB (351492 kB free)

I think that the problem is caused by the fact that you have got the
'age' option set to -1.  This means not to delete pages even if they
are old.  I think that what happens in this case is that the purging
to free up space is not working either.

If you try setting the 'age' option to something large (like '10y', 10
years) then I think that it will purge like you expect.  Let me know
if this fixes it.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html

Reply via email to