Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2013 15:30:49 -0800
From:      Tim Gustafson <tjg@ucsc.edu>
To:        questions@freebsd.org
Subject:   Re: Restricting Periodic Scripts
Message-ID:  <CAPyBAS4-rEfd7f8wwygGNfY4_GT2XxYm7gmrW-A0OKoRHXDQLA@mail.gmail.com>
In-Reply-To: <51129A40.1050606@FreeBSD.org>
References:  <CAPyBAS6tFC-LCKAzMMeq4nxkqJsD29tRTF=k7cAyUTFhkiKFCQ@mail.gmail.com> <CAPyBAS6vna0xMYbPR05PpFbMOJHJ613b%2BYJGhi9n-8kvfZP9JQ@mail.gmail.com> <51129A40.1050606@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a FreeBSD ZFS file server with tens of millions of files
> stored on it.
>
> But, the daily periodic scripts like
> /etc/periodic/security/110.neggrpperm and
> /etc/periodic/weekly/310.locate take hours iterating through those
> folders, and I just don't need them to be scanned.
>
> I see that I can edit /etc/locate.rc to fix the behavior for
> /etc/periodic/weekly/310.locate but I don't see a way to exclude
> folders from other scripts like
> /etc/periodic/security/110.neggrpperm from scanning them.  Is there
> any way to prune out folders that I don't want scanned, or should I
> just disable those jobs?

Thanks to everyone who replied.

I got some helpful suggestions from a few people, which all amounted
to either "disable the jobs" or "create your own custom version of
those jobs".  So for now, I'm just disabling them.

I appreciate all the help.  Thanks!

-- 

Tim Gustafson
tjg@ucsc.edu
831-459-5354
Baskin Engineering, Room 313A



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