Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2025 09:25:33 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Brad Davis <brd@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Git and buildworld running at the same time
Message-ID:  <aMbsfSvVt6xp8JbW@www.zefox.net>
In-Reply-To: <CANCZdfpR7ZEUEOMZio1aXAwOiU_yLbn8TgBGk-3UsamjnRw9tA@mail.gmail.com>
References:  <aMWGWbI-8TwnAPnP@www.zefox.net> <f9ae18ca-13d9-4fdc-8ee4-6b1870ad67ad@app.fastmail.com> <CANCZdfrNw=AHLUcKxGzYoPQ7Zs=E2Wjp6Kqq4E3aU_LyBh_snA@mail.gmail.com> <e786ed05-5ce5-42dc-92bc-d6cfdd3ccc3d@app.fastmail.com> <aMWW6GpzUwSufCTE@www.zefox.net> <CANCZdfpR7ZEUEOMZio1aXAwOiU_yLbn8TgBGk-3UsamjnRw9tA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aMbsfSvVt6xp8JbW>