git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 2.20.0 - Undocumented change in submodule update wrt # parallel jobs

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 13, 2018, 14:02 UTC
Message-ID
<87sgz11q4u.fsf@evledraar.gmail.com>
In-Reply-To
<CAHef355RQt9gN-7QjuAAT8mZsNFKfCo4hOYi2+bkp-0Av7W=Qw@mail.gmail.com>
On Thu, Dec 13 2018, Sjon Hortensius wrote:
Show 10 quoted lines
> When switching to 2.20 our `git submodule update' (which clones
> through ssh) broke because our ssh-server rejected the ~20
> simultaneous connections the git-client makes. This seems to be caused
> by a (possibly unintended) change in
> https://github.com/git/git/commit/90efe595c53f4bb1851371344c35eff71f604d2b
> which removed the default of max_jobs=1
>
> While this can easily be fixed by configuring submodule.fetchJobs I
> think this change should be documented - or reverted back to it's
> previous default of 1

Just to add to this. SSH-ing with -j<ncores> (which I assume that ~20 is) is going to run into MaxStartups in sshd_config, which is especially annoying as it's pre-ssh-auth, so the server doesn't even get "so and so tried to login", it's just dropped as a potential DoS attack.

Previous: Sjon HortensiusNext: Junio C Hamano
Message 2 of 7 in “2.20.0 - Undocumented change in submodule update wrt # parallel jobs”
  1. Sjon HortensiusDec 13, 2018
  2. Ævar Arnfjörð BjarmasonDec 13, 2018
  3. Junio C HamanoDec 13, 2018
  4. Stefan BellerDec 13, 2018
  5. submodule update: run at most one fetch job unless otherwise setStefan Beller, Dec 13, 2018
  6. Eric SunshineDec 13, 2018
  7. Junio C HamanoDec 14, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.