thank you for your reply
Details are showed in this Youtube video. Please feel free to ask if I can 
provide anything.
https://www.youtube.com/watch?v=DTXvgKYjy5k

在2022年7月4日星期一 UTC+8 19:43:41<Konstantin Khomoutov> 写道:

> On Fri, Jul 01, 2022 at 03:21:18AM -0700, xin ma wrote: 
>
> > I am using git fetch under one repository and it will create a lot of 
> > threads, does anyone know about this problem? 
> > git version 2.33.0 
>
> The process of fetching is more complicated than it may seem on the first 
> glance: it first need to figure out which objects the receiving part lacks 
> compared to the sending one, then process the received objects - probably 
> updating one or more so-called "pack files" in the process. 
>
> Git implements paralleling some of its CPU-intensive tasks, so creating 
> several threads to handle that is nothing special - each thread utilises a 
> CPU 
> core to do some number crunching. 
>
> Hence, the real question is: is there any real problem? 
> I mean, does the number of threads created is so insane (like hundreds to 
> thousands) your system becomes unstable or whatever? Are there any other 
> problem - like these threads remain lingering in an apparently hung 
> process 
> you would expect to go away after fetching? 
> Also: are you 100% sure these threads are Git's and not of some other 
> proccess? How are you sure they are created by Git? 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/9ca2f63e-0302-468a-aed2-45c7aaff3da0n%40googlegroups.com.

Reply via email to