Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 14:58:28 -0500
From:      Derrick Norris <denorris@bellsouth.net>
To:        freebsd-questions@freebsd.org
Subject:   Why would nightly disk cleanup stop deleting some files?
Message-ID:  <200111171958.fAHJwTC08514@visar.norris-net.com>

next in thread | raw e-mail | index | archive | help

I have the daily clean disks enabled in periodic.conf.  I can't remember 
exactly when this started happening (perhaps when I cvsupped and built world 
to 4.4-RELEASE, not sure), but I recently noticed that the nightly disk 
cleanup is not deleting some files that it formerly would.

For instance, I had several core files in my home directory (the well-known 
kdeinit core which happens every time I log out of KDE, a couple of 
xscreensaver core dumps, etc.) and I noticed that some of them had been there 
for a while, but daily disk cleanup was supposed to be getting rid of them.

In fact, after I noticed this, I checked the atime on the .core files 
yesterday and verified that they should be deleted during last night's 
daily run.  Well this morning, my daily mail output didn't list the files as 
being deleted, and they were still in my home directory with the atime reset, 
so the days would have to start counting up again and the .core files would 
apparently never get deleted.  I just went ahead and deleted them manually 
today.

Does anyone have any ideas what might cause these files to be accessed, thus 
resetting the atime and causing 100.clean-disks to bypass them during 
cleanup?  Would just doing an ls -lu or a find -atime in my home directory 
reset the access time on those files (so that I was inadvertently doing it 
myself)?

Thanks,
Derrick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111171958.fAHJwTC08514>