Re: Git and buildworld running at the same time
- In reply to: bob prohaska : "Re: Git and buildworld running at the same time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Sep 2025 16:20:35 UTC
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? > > > > It happens for world builds as well.. newvers.sh runs git (used to be svnlite) and is called in Makefile.inc1. > > > > 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 -- David H. Wolfskill david@catwhisker.org See https://www.catwhisker.org/~david/publickey.gpg for my public key.