From nobody Fri Oct 27 15:24:58 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SH60t17fPz4yMl9 for ; Fri, 27 Oct 2023 15:25:02 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SH60s4DXnz3GrD for ; Fri, 27 Oct 2023 15:25:01 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm3 header.b=b05Mo0ld; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=RDrCwVfe; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.28 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 79B3C5C0244 for ; Fri, 27 Oct 2023 11:25:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 27 Oct 2023 11:25:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1698420301; x=1698506701; bh=d7 3AP8NBnN/dWZUeC8Q07GJUAcM9e47gEN28OR6K9bI=; b=b05Mo0ldYwbkg3xc00 mJpTFCSOZl67actS2p4rrsyxmzX1G2SUDuvevRjK4ywfhaFCrdo62/WaDuLcnesV prWkpDrezmhBS+Pr3Yy+fWjGv/OXyRj6Nf1x5vL+O5xcorrdwrH8W8+w1QJQcGYt g4yp9hlo+uChDbTvDF9WQGsF3iP3HtZcWcx4+gBPkJX8E9EBQ1I1E81JIAuJEeKo TVSVlsd0NMbwxzhpteT+Oz3q0ZE55/9HZ7yVlIgJZcPtqP8visCXWRYzlVOJq4WX 9HxJAwhEn63PUXV5nMLMX6FEcc0008v+LgsT+OhkR0alHKUXk73UOy8hEyTPtFkn HkZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698420301; x=1698506701; bh=d73AP8NBnN/dW ZUeC8Q07GJUAcM9e47gEN28OR6K9bI=; b=RDrCwVfeRAaWgL8YnaGTU5TJRDwU9 smg51ESuD1vbyGoqXyBS3KFyFelw4kkLAodRZCWOdFBcCx/2lkhlJrQ7Lk3DimOa BL4YvvwSV+D3gZjHwJYoraixnd6lMqbGGpGLxGVj7GZg0OvYx7HtcDfBU7rQGJ4h 8Gi/hGdMlfZoPj4X3j9P0HVKeQJ0LQjr2DBTEZUy5RhvBtvOV7XmQKmEOOG/Tn8u 9GVtAwzPWdZXgHkuDfNTqKiBgBQNBNes0SFQKTt4utEzhl+sp9qSZClRrDDj+jxt 3mx0qf3aovXmfNG2CLxzSXjPXvivh2pkk2cH3syuRCVCoNI4eTWpcCsWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleeggdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdortd dttddvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrght thgvrhhnpeeivefgfeegfffhgffgiedtjeejhfetfeefgfelfeeiveelveejueeiudegle fggfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehv ohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 27 Oct 2023 11:25:00 -0400 (EDT) Date: Fri, 27 Oct 2023 16:24:58 +0100 From: void To: freebsd-stable@freebsd.org Subject: Re: periodic daily takes a very long time to run (14-stable) Message-ID: Mail-Followup-To: freebsd-stable@freebsd.org References: <1122335317.4913.1698407124469@localhost> <794932758.6659.1698413675475@localhost> <8a5c1f89eb5842f20e463c7d60538e598da3bc46.camel@gromit.dlib.vt.edu> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <8a5c1f89eb5842f20e463c7d60538e598da3bc46.camel@gromit.dlib.vt.edu> X-Spamd-Result: default: False [-4.68 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.978]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28:c]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm3,messagingengine.com:s=fm3]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.28:from]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[66.111.4.28:server fail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SH60s4DXnz3GrD X-Spamd-Bar: ---- Hi, On Fri, Oct 27, 2023 at 11:01:03AM -0400, Paul Mather wrote: >This doesn't affect the periodic daily run (to my knowledge) # ps x | grep periodic 59319 14 S+ 0:00.00 grep periodic 27376 17 I+ 0:00.00 /bin/sh - /etc/periodic/security/110.neggrpperm 27987 17 I+ 0:00.00 /bin/sh - /etc/periodic/security/110.neggrpperm 43295 17 I+ 0:00.00 /bin/sh - /usr/sbin/periodic daily 44018 17 I+ 0:00.00 lockf -s -t 0 /var/run/periodic.daily.lock /bin/sh /usr/sbin/periodic LOCKED daily 44447 17 I+ 0:00.01 /bin/sh /usr/sbin/periodic LOCKED daily 47348 17 I+ 0:00.01 /bin/sh /usr/sbin/periodic LOCKED daily 47882 17 I+ 0:00.00 /bin/sh /etc/periodic/daily/450.status-security 48386 17 I+ 0:00.00 /bin/sh - /usr/sbin/periodic security 49217 17 I+ 0:00.00 lockf -s -t 0 /var/run/periodic.security.lock /bin/sh /usr/sbin/periodic LOCKED security 49566 17 I+ 0:00.01 /bin/sh /usr/sbin/periodic LOCKED security 51783 17 I+ 0:00.00 /bin/sh /usr/sbin/periodic LOCKED security It's been like this (110.newgrpperm) for 2hrs 16 mins /etc/periodic/security/110.neggrpperm has the following line, which I've put in quote marks (the quote marks are not present in the actual file) "n=$(find -sx $MP /dev/null \( ! -fstype local \) -prune -o -type f \" although I'm not certain, it suggests to me it's looking through the entire disk, not excluding anything. >You can tinker with the settings in /etc/locate.rc and add your ccache >file system/directory to PRUNEPATHS in order to get the >/usr/libexec/locate.updatedb indexing script to skip that hierarchy. thank you for that tip I didn't know there was a locate.rc I used to run 310.locate in daily.local long ago ;) In this context though, there's no daily.local it's all standard. --