Re: Git and buildworld running at the same time
Date: Sun, 14 Sep 2025 16:25:33 UTC
On Sat, Sep 13, 2025 at 10:13:19AM -0600, Warner Losh wrote: > On Sat, Sep 13, 2025 at 10:08 AM bob prohaska <fbsd@www.zefox.net> wrote: > > > Is it normal for git to consume (while buildworld is running) close > > to 1 GB of memory for durations exceeding an hour? > > > > More fundamentally, is it OK to start buildworld immediately after > > a git pull finishes interactive output and returns a shell prompt? > > > > It's what I do: > > % git pull --rebase > % make buildworld <args> After running make cleandir twice, buildworld still failed with the same "failed assertion" error. Running git pull --rebase reported Updating 63bd2416ccd..455426da078 with no apparent errors and a return to the shell prompt. Meanwhile, top continues to show git activity, some minutes later amounting to over one GB of memory use, 66MB of swap use and ~80% of one core in use. After a few more minutes memory use grew to 1.2 GB, but %CPU is lower, ~10-20%. Top does not show any flags applied to git, and a ps -aux | grep git reports only the "grep git" process, nothing else. It's very likely that at some point I started buildworld while git was similarly active. Am I correct thinking this would be a bad thing? Thanks for reading, bob prohaska