From nobody Sun Sep 14 16:25:33 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 4cPtnG65gWz686DY for ; Sun, 14 Sep 2025 16:25:38 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cPtnF2wwCz3Qbc; Sun, 14 Sep 2025 16:25:37 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 58EGPXTW025391 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 14 Sep 2025 09:25:33 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 58EGPX9t025390; Sun, 14 Sep 2025 09:25:33 -0700 (PDT) (envelope-from fbsd) Date: Sun, 14 Sep 2025 09:25:33 -0700 From: bob prohaska To: Warner Losh Cc: Brad Davis , FreeBSD Current , bob prohaska Subject: Re: Git and buildworld running at the same time Message-ID: 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: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.78 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.95)[-0.951]; NEURAL_HAM_SHORT(-0.94)[-0.941]; NEURAL_HAM_MEDIUM(-0.79)[-0.790]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_WWW(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; TO_DN_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[zefox.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4] X-Rspamd-Queue-Id: 4cPtnF2wwCz3Qbc On Sat, Sep 13, 2025 at 10:13:19AM -0600, Warner Losh wrote: > On Sat, Sep 13, 2025 at 10:08 AM bob prohaska 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 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