Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2023 23:54:57 +0200
From:      Guido Falsi <mad@madpilot.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: periodic daily takes a very long time to run (14-stable)
Message-ID:  <0d3c4a36-9c40-44f1-baa1-afa960931604@madpilot.net>
In-Reply-To: <ZTvuwR0_pqvsu4Eg@int21h>
References:  <ZTuNvVMW_XG3mZKU@int21h> <1122335317.4913.1698407124469@localhost> <ZTuyXPjddEPqh-bi@int21h> <794932758.6659.1698413675475@localhost> <ZTvMODY-mcBImHZP@int21h> <8a5c1f89eb5842f20e463c7d60538e598da3bc46.camel@gromit.dlib.vt.edu> <ZTvWSoCykzPzFKuw@int21h> <767774d4-50b5-47c8-9cf1-c0c99fe33e00@madpilot.net> <ZTvuwR0_pqvsu4Eg@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/10/23 19:09, void wrote:
> On Fri, Oct 27, 2023 at 05:38:58PM +0200, Guido Falsi wrote:
> 
>> If this script is the culprit is easily tested, disable it and see. I 
>> guess you can stay a few days without checking for negative permissions.
> 
> I'm unsure how to disable that one script from periodic. but I think
> that what you recommend following it is better:
> 
>> Also, $MP is defined in such a way to exclude filesystems that set 
>> "nosuid/noexec". I do happen to have those setup for my ccache 
>> directory so it is skipping that.
> 
> doing this right now. thanks for the tip.
> 
> BTW the same initial symptoms happening again even after
> disabling daily_clean. I'll retry periodic daily after
> setting nosuid/noexec/nodev on ccache dir
> 
> Is there any benefit from setting a recordsize smaller than 128k there?
> 

You can disable it by adding:

security_status_neggrpperm_enable="NO"

to /etc/periodic.conf.

You can also add:

security_status_neggrpperm_period="weekly"

for example to make it run weekly.

The dafaults that can be overridden in periodic.conf are all listed in 
/etc/defaults/periodic.conf

-- 
Guido Falsi <mad@madpilot.net>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0d3c4a36-9c40-44f1-baa1-afa960931604>