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

> > Matus UHLAR - fantomas <[EMAIL PROTECTED]> writes:
> > > Purge
> > > {
> ...
> > >         age             = -1
> ...
> > > }
> 
> On 10.09 14:02, Andrew M. Bishop wrote:
> > 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.
> 
> Oh yes, this might be the problem. Sorry for my mistake.

When I answered your previous e-mail I read the purge.c source code to
work out what might have gone wrong.  This time I have read the
documentation and I find that I had thought about this before.  It
does say that URLs that are marked not to be purged will not be.

-------------------- README.CONF --------------------
max-size = (size)
        The maximum size for the cache in MB after purging (default=-1).  A
        maximum cache size of -1 (or 0 for backwards compatibility) means
        there is no limit to the size.  If this and the min-free options are
        both used the smaller cache size is chosen.  This option take into
        account the URLs that are never purged when measuring the cache size
        but will not purge them.

min-free = (size)
        The minimum amount of free disk space in MB after purging
        (default=-1).  A minimum disk free of -1 (or 0) means there is no
        limit to the free space.  If this and the max-size options are both
        used the smaller cache size is chosen.  This option take into account
        the URLs that are never purged when measuring the cache size but will
        not purge them.
-------------------- README.CONF --------------------

After reconsidering the options (leave it as it is or change so that
the max-size/min-free options take priority) I have decided that I
will leave it as it is.  There may be people that rely on it working
the way that it does.  Certainly if people are using WWWOFFLE as a
permanent cache then if they have set an age of -1 to never delete a
cached file they should be able to expect that it will never be
deleted.

-- 
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