From: Eric Sunshine Date: Tue, 01 Oct 2024 04:29:58 GMT Subject: Re: git commit hangs when run concurrently on macos Message-ID: In-Reply-To: On Mon, Sep 30, 2024 at 4:58 PM Bennet Huber wrote: > After running this, wait for output to subside, then run `jobs`. > On my machine, I usually see 5-10 hung "git commit" jobs. > > > 3:39:04.020533 run-command.c:758 trace: start_command: /opt/homebrew/opt/git/libexec/git-core/git fsmonitor--daemon run --detach --ipc-threads=8 > > Setting `USE_FS_MONITOR=false` in the code above consistently results > in no hung "git commit" commands, which leads me to suspect the > problem has to do with the fsmonitor feature. It's also a decent, > though difficult to discover, workaround. I don't use fsmonitor and haven't particularly been following the issue, but there are some active threads on the mailing list regarding fsmonitor hanging on macOS. Perhaps they are relevant to your case. https://lore.kernel.org/git/20240930194600.GA1805534@coredump.intra.peff.net/T/ https://lore.kernel.org/git/20240509162219.GA1707955@coredump.intra.peff.net/T/ https://lore.kernel.org/git/pull.1802.git.1727577690390.gitgitgadget@gmail.com/T/