From nobody Mon Sep 15 10:10:56 2025 X-Original-To: freebsd-current@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 4cQLQv6X2pz68NDv for ; Mon, 15 Sep 2025 10:11:19 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQLQv4cpTz3nZC; Mon, 15 Sep 2025 10:11:19 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id BCB007A0026; Mon, 15 Sep 2025 06:11:17 -0400 (EDT) Received: from phl-imap-16 ([10.202.2.88]) by phl-compute-02.internal (MEProxy); Mon, 15 Sep 2025 06:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1757931077; x=1758017477; bh=iAEIGiEf3gqxhcEyqTXpKhac9XFs93fU NCVHVL3yEK8=; b=DunrXCy7JVAHNEBa4UAe7qp6r+GExw/UFJJYC0ShPtoSZyZQ dRtuD9OD0thFj7nejgTIh65AM7XPJ4BHCdWRTweljVDqy+SsTokF7dh9OWZ4W3uI HQ1qo+udKqz2FH5NAWuxdywbvPfbIvgh7qRQyR+frOFq8LDghEe2v6h02145V+Vg oDu0wNTR6jtijzcu9fZNNrbwfB40R/NsbEh1xBcWilbr1PnVHXGi4Iub0D8yh6ZU Ritrp3Ksr69IdFSWthpedo7ehTfYG9YNjowNr/XoQXm2yNkwdmbg8PPic2QZYLNg 8qKjGHWpoRWH68dxgdare7lXM7XQBwO/yHk6SQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1757931077; x= 1758017477; bh=iAEIGiEf3gqxhcEyqTXpKhac9XFs93fUNCVHVL3yEK8=; b=j xYqnb5tqfYCTBZBcSwOP0wrQoMu0lx+SboHgTsgNWrXr3Ho27vMkAp8HCtoIyr6O U40J7mLZRYu+ir88Y2KGhdYhxP/8pScovnbtFQrIIiY/p9EWWZImCYpL4gcnB2SF EKk8pf2Ask8wEjofnzA6envZ9UXs4v2qgWt9e5XQU26TcaJbuYPhblCeMcyt8EL1 ZqLKvlBLO/Au4Krb4BcZkhHMRc3zz0JJM47aKj53IqC03rGXsuvMtS0pK2+uaQcH F4IOOMvrJR9aRTgfq4lix/sU1ZjaC0rAHt9UcJumvutZoo3FaZsF2ayknBtpUe5O 6yk7TFmHHU49DLIdG5pRg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdefjeegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdffrghvvgcu vehothhtlhgvhhhusggvrhdfuceouggthhesshhkuhhnkhifvghrkhhsrdgrtheqnecugg ftrfgrthhtvghrnhephfevvddujeetkeevfefhgfethfeiffefheejtdektdeuleehvdej ueethefffffgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepuggthhesshhkuhhnkhifvghrkhhsrdgrthdpnhgspghrtghpthhtohepgedpmhho uggvpehsmhhtphhouhhtpdhrtghpthhtohepihhmphessghsughimhhprdgtohhmpdhrtg hpthhtohepsghrugesfhhrvggvsghsugdrohhrghdprhgtphhtthhopehfrhgvvggsshgu qdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhgpdhrtghpthhtohepfhgsshguseiffi ifrdiivghfohigrdhnvght X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id D46672CC0086; Mon, 15 Sep 2025 06:11:16 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 X-ThreadId: A0paS3niAS03 Date: Mon, 15 Sep 2025 10:10:56 +0000 From: "Dave Cottlehuber" To: "bob prohaska" , "Warner Losh" Cc: "Brad Davis" , freebsd-current Message-Id: <1f592824-baa2-4c03-b978-0299ea6ca867@app.fastmail.com> In-Reply-To: References: Subject: Re: Git and buildworld running at the same time Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cQLQv4cpTz3nZC On Sun, 14 Sep 2025, at 16:37, bob prohaska wrote: > On Sun, Sep 14, 2025 at 09:25:33AM -0700, bob prohaska wrote: >> >> Top does not show any flags applied to git, and a >> ps -aux | grep git >> reports only the "grep git" process, nothing else. > > This claim now seems wrong. A repeat of ps -aux reports: > > root@www:/usr/src # ps -aux | grep git > root 9398 8.9 80.5 1346480 768984 - R 09:07 8:34.59 > /usr/local/libexec/git-core/git pack-objects --local --delta-base-of > root 9396 0.0 0.1 9132 860 - Is 09:07 0:00.01 > /usr/local/libexec/git-core/git gc --auto --no-quiet > root 9397 0.0 0.1 9100 868 - I 09:07 0:00.05 > /usr/local/libexec/git-core/git repack -d -l -A --unpack-unreachable > root 9499 0.0 0.2 4800 1688 1 S+ 09:29 0:00.02 grep > git > [lines are wrapped] > > So, git definitely returns a shell prompt before it's finished working. > At the moment git occupies 1.3 GB RAM, 505 MB swap and 10-15% CPU. > > Apologies for the misinformation, thanks for reading! > > bob prohaska Hi Bob Try running this `git config gc.auto 0` in your /usr/src and see if it stops doing this in future. On the down side you may need to run it explicitly occasionally. An alternative might be `git config gc.autodetach false` but I've not tried this myself. A+ Dave