From nobody Sat Sep 13 16:20:35 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 4cPGjy0vsgz66hYh for ; Sat, 13 Sep 2025 16:20:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4cPGjx5gFdz3rY0; Sat, 13 Sep 2025 16:20:37 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 58DGKZ2A017037; Sat, 13 Sep 2025 16:20:35 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 58DGKZgL017036; Sat, 13 Sep 2025 09:20:35 -0700 (PDT) (envelope-from david) Date: Sat, 13 Sep 2025 09:20:35 -0700 From: David Wolfskill To: bob prohaska Cc: Brad Davis , Warner Losh , FreeBSD Current Subject: Re: Git and buildworld running at the same time Message-ID: Mail-Followup-To: David Wolfskill , bob prohaska , Brad Davis , Warner Losh , FreeBSD Current References: 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AYckRr/Z+YUMdBgw" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cPGjx5gFdz3rY0 --AYckRr/Z+YUMdBgw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 13, 2025 at 09:08:08AM -0700, bob prohaska wrote: > ... > > > Though that's only for the kernel, not for world builds. Right? > >=20 > > It happens for world builds as well.. newvers.sh runs git (used to be s= vnlite) and is called in Makefile.inc1. > >=20 >=20 > Is it normal for git to consume (while buildworld is running) close > to 1 GB of memory for durations exceeding an hour? I would find that ... surprising. (I have tended to rebuild FreeBSD head & stable (head - 1, usually; lately, also head - 2) daily on at least a couple of machines for the past several years, one of which is the laptop I use for day-to-day "stuff" -- so I do have "some experience" using "make buildworld" & friends.) > More fundamentally, is it OK to start buildworld immediately after > a git pull finishes interactive output and returns a shell prompt? I generally do that, yes. And I am unaware of any problems the practice may have caused. That said, there was an occasion when a "git fetch" from one of the mirrors choked & died; since then, I have taken to running a weekly process via cron that does a "git maintenance run" followed by a "git gc" in each of my git repositories. No issues since starting that. Peace, david --=20 David H. Wolfskill david@catwhisker.org See https://www.catwhisker.org/~david/publickey.gpg for my public key. --AYckRr/Z+YUMdBgw Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCaMWZ0l8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5XFYAPwM5dCc2bSu+NH6ndbr5QxvMb1IZgPhfCNaplznTw06OAEAxuvV4M6GA+hI DmGJcED1HwZZwDoj+cvlk4eIwRMxUQ0= =5Bbj -----END PGP SIGNATURE----- --AYckRr/Z+YUMdBgw--