* Problem with git-clone
@ 2007-04-21 17:15 Parag Warudkar
2007-04-22 1:17 ` Shawn O. Pearce
0 siblings, 1 reply; 3+ messages in thread
From: Parag Warudkar @ 2007-04-21 17:15 UTC (permalink / raw)
To: git
I have a reproducible problem with git-index-pack getting stuck.
Is this a known problem fixed in one of the later releases?
git --version
git version 1.4.4.2
git-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6-wk
remote: Generating pack...
remote: Done counting 445435 objects.
remote: Deltifying 445435 objects.
remote: 100% (445435/445435) done
Indexing 445435 objects.
0% (194/445435) done
It stays there for ever. If I attach to all the git-* processes using strace
here is what it shows -
strace -p 9055 # This is git-index-pack
Process 9055 attached - interrupt to quit
read(0, 0x8063ba0, 4096) = ? ERESTARTSYS (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
read(0, 0x8063ba0, 4096) = ? ERESTARTSYS (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
read(0, <unfinished ...>
Process 9055 detached
strace -p 9054 # This is git-fetch-pack
Process 9054 attached - interrupt to quit
read(3, <unfinished ...>
Process 9054 detached
paragw@paragw-desktop:~$ strace -p 9053 #git-fetch-pack
Process 9053 attached - interrupt to quit
waitpid(9055, <unfinished ...>
Process 9053 detached
paragw@paragw-desktop:~$ strace -p 9046 # This is git-clone
Process 9046 attached - interrupt to quit
wait4(-1, <unfinished ...>
Process 9046 detached
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with git-clone
2007-04-21 17:15 Problem with git-clone Parag Warudkar
@ 2007-04-22 1:17 ` Shawn O. Pearce
2007-04-22 2:35 ` Parag Warudkar
0 siblings, 1 reply; 3+ messages in thread
From: Shawn O. Pearce @ 2007-04-22 1:17 UTC (permalink / raw)
To: Parag Warudkar; +Cc: git
Parag Warudkar <parag.warudkar@gmail.com> wrote:
> I have a reproducible problem with git-index-pack getting stuck.
> Is this a known problem fixed in one of the later releases?
Are you on Mac OS X? We found that earlier versions of index-pack on
that platform ran poorly unless we used pread(). A change was made
in 1.5.0 to switch to pread for all platforms, which significantly
improved performance.
> git --version
> git version 1.4.4.2
I'd upgrade your Git, the current version is 1.5.1.1.
--
Shawn.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with git-clone
2007-04-22 1:17 ` Shawn O. Pearce
@ 2007-04-22 2:35 ` Parag Warudkar
0 siblings, 0 replies; 3+ messages in thread
From: Parag Warudkar @ 2007-04-22 2:35 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: git
On 4/21/07, Shawn O. Pearce <spearce@spearce.org> wrote:
> Are you on Mac OS X? We found that earlier versions of index-pack on
> that platform ran poorly unless we used pread(). A change was made
> in 1.5.0 to switch to pread for all platforms, which significantly
> improved performance.
Nope, I am on Linux. But I did some more debugging and found that my
router is the culprit - it has ACK errors in the logs and things start
working fine if I switch to another router.
>
> > git --version
> > git version 1.4.4.2
>
> I'd upgrade your Git, the current version is 1.5.1.1.
Yes, on my list.
Thanks
Parag
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-22 2:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-21 17:15 Problem with git-clone Parag Warudkar
2007-04-22 1:17 ` Shawn O. Pearce
2007-04-22 2:35 ` Parag Warudkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).