On Tue, 27 Oct 2009, Jeff Templon wrote:
> We already have a cron job that does a quite similar job on the file
> server. This cron job (an earlier version, written by me) is quite
> famous, having been used more than once to wreak havoc at Nikhef :-)
> The current version has removed all the fun mistakes found so far and
> been proofread by famous Dutch Guys like David Groep and Maarten
> Litmaath ... if you want a copy, we can provide it.
>
> We might get a comment from Maarten about this, because I think he
> stole the good parts of our cron job, made them into a cleanup-
> poolaccounts cron job, and improved the whole thing.
The cleanup-grid-accounts cron job has been part of the lcg-CE for more
than 3 years now. In particular it cleans up ~/.globus/gass_cache and
has a default grace period of 15 days: no job is assumed to have files
on the CE for such a long period, so any files that old are assumed to
be stale.
> Putting the cleanup-jobdirs on the file server is on our to-do list.
That cron job takes care of a simpler and more urgent problem:
the removal of empty directories under ~/.globus/job/CE left behind
occasionally, but often enough to cause trouble for busy accounts,
e.g. those of production managers or pilot job submitters.
The former cron job also took care of those directories,
but the grace period of 15 days was way too long...
|