Re: [squid-users] unlinkd

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Mon, 1 Apr 2002 22:43:37 +0200

What may explain that "some files are deleted" is that there is also
a background job slowly scanning the cache directories deleting
lost or misplaced files if there is any..

This is the storeDirClean event.

Regards
Henrik

On Monday 01 April 2002 21:31, Guido Serassio wrote:

> >Hm. But sometimes some of the files get deleted ... just not all
> > that need to.
> >
> >Hermann
>
> This the old code in store_io_ufs.c:
>
> void
> storeUfsUnlink(sfileno f)
> {
> debug(79, 3) ("storeUfsUnlink: fileno %08X\n", f);
> unlinkdUnlink(storeUfsFullPath(f, NULL));
> }
>
> The unlinkdUnlink function make nothing when squid is compiled
> without USE_UNLINKD, as SquidNT is.
>
> The new code, similar to Squid 2.5, is:
>
> void
> storeUfsUnlink(sfileno f)
> {
> debug(79, 3) ("storeUfsUnlink: fileno %08X\n", f);
> #if USE_UNLINKD
> unlinkdUnlink(storeUfsFullPath(f, NULL));
> #else
> unlink(storeUfsFullPath(f, NULL));
> #endif
> }
>
> Regards
>
> Guido
>
>
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134 -
> Torino - ITALY E-mail: guido.serassio@serassio.it
> WWW: http://www.serassio.it

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Mon Apr 01 2002 - 14:22:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:18 MST