Re: Periodic hang during git index-pack

2019-02-03 Thread Sitsofe Wheeler
On Wed, 19 Dec 2018 at 22:59, Sitsofe Wheeler wrote: > > While using trying to use git to clone a remote repository git > index-pack occasionally goes on to hang: On Thu, 20 Dec 2018 at 16:48, Sitsofe Wheeler wrote: > > On Thu, 20 Dec 2018 at 15:11, Jeff King wrote: > > [snip] > > > > with each

Re: Periodic hang during git index-pack

2018-12-20 Thread Sitsofe Wheeler
On Thu, 20 Dec 2018 at 15:11, Jeff King wrote: > > OK, that's about what I expected. Here we have clone's sideband-demux > thread waiting to pull more packfile data from the remote: > > > (gdb) thread apply all bt > > > > Thread 2 (Thread 0x7faafbf1c700 (LWP 36586)): > > #0 0x7faafc805384 in

Re: Periodic hang during git index-pack

2018-12-20 Thread Jeff King
On Thu, Dec 20, 2018 at 10:03:45AM +, Sitsofe Wheeler wrote: > > Check the backtrace of git-clone to see why it isn't feeding more data > > (but note that it will generally have two threads -- one processing the > > data from the remote, and one wait()ing for index-pack to finish). > > > > My

Re: Periodic hang during git index-pack

2018-12-20 Thread Sitsofe Wheeler
On Wed, 19 Dec 2018 at 23:22, Jeff King wrote: > > On Wed, Dec 19, 2018 at 10:59:30PM +, Sitsofe Wheeler wrote: > > > While using trying to use git to clone a remote repository git > > index-pack occasionally goes on to hang: > > [...] > > Looking at where it is stuck, git is doing read of a p

Re: Periodic hang during git index-pack

2018-12-19 Thread Jeff King
On Wed, Dec 19, 2018 at 10:59:30PM +, Sitsofe Wheeler wrote: > While using trying to use git to clone a remote repository git > index-pack occasionally goes on to hang: > [...] > Looking at where it is stuck, git is doing read of a pipe: > > #0 0x7fd1b845034e in __libc_read (fd=fd@entry=

Periodic hang during git index-pack

2018-12-19 Thread Sitsofe Wheeler
Hi, While using trying to use git to clone a remote repository git index-pack occasionally goes on to hang: export GIT_TRACE=1 git clone -n remotehost:diffusion/LIBEDIT/libedit 22:43:48.948378 git.c:418 trace: built-in: git clone -n remotehost:diffusion/LIBEDIT/libedit Cloning into