Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2013 09:26:17 -0800
From:      Tim Gustafson <tjg@ucsc.edu>
To:        questions@freebsd.org
Subject:   Restricting Periodic Scripts
Message-ID:  <CAPyBAS6vna0xMYbPR05PpFbMOJHJ613b%2BYJGhi9n-8kvfZP9JQ@mail.gmail.com>
In-Reply-To: <CAPyBAS6tFC-LCKAzMMeq4nxkqJsD29tRTF=k7cAyUTFhkiKFCQ@mail.gmail.com>
References:  <CAPyBAS6tFC-LCKAzMMeq4nxkqJsD29tRTF=k7cAyUTFhkiKFCQ@mail.gmail.com>

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?

--

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?CAPyBAS6vna0xMYbPR05PpFbMOJHJ613b%2BYJGhi9n-8kvfZP9JQ>