{"thread":{"id":"7769","subject":"Problem with git-clone","startedAt":"2007-04-21T17:15:46Z","lastAt":"2007-04-22T02:35:21Z","messageCount":3,"participants":["Parag Warudkar","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"40061","messageId":"loom.20070421T190848-931@post.gmane.org","threadId":"7769","inReplyTo":null,"subject":"Problem with git-clone","fromName":"Parag Warudkar","fromEmail":"parag.warudkar@gmail.com","sentAt":"2007-04-21T17:15:46Z","receivedAt":"2007-04-21T17:15:46Z","isPatch":false,"sender":{"key":"parag.warudkar@gmail.com","avatar":null},"body":"I have a reproducible problem with git-index-pack getting stuck. \nIs this a known problem fixed in one of the later releases? \n\ngit --version\ngit version 1.4.4.2\n\ngit-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\nlinux-2.6-wk\nremote: Generating pack...\nremote: Done counting 445435 objects.\nremote: Deltifying 445435 objects.\nremote:  100% (445435/445435) done\nIndexing 445435 objects.\n   0% (194/445435) done\n\nIt stays there for ever. If I attach to all the git-* processes using strace\nhere is what it shows -\n\n strace -p 9055  # This is git-index-pack\nProcess 9055 attached - interrupt to quit\nread(0, 0x8063ba0, 4096)                = ? ERESTARTSYS (To be restarted)\n--- SIGALRM (Alarm clock) @ 0 (0) ---\nsigreturn()                             = ? (mask now [])\nread(0, 0x8063ba0, 4096)                = ? ERESTARTSYS (To be restarted)\n--- SIGALRM (Alarm clock) @ 0 (0) ---\nsigreturn()                             = ? (mask now [])\nread(0,  <unfinished ...>\nProcess 9055 detached\n\n strace -p 9054 # This is git-fetch-pack\nProcess 9054 attached - interrupt to quit\nread(3,  <unfinished ...>\nProcess 9054 detached\nparagw@paragw-desktop:~$ strace -p 9053 #git-fetch-pack\nProcess 9053 attached - interrupt to quit\nwaitpid(9055,  <unfinished ...>\nProcess 9053 detached\nparagw@paragw-desktop:~$ strace -p 9046 # This is git-clone\nProcess 9046 attached - interrupt to quit\nwait4(-1,  <unfinished ...>\nProcess 9046 detached\n"},{"id":"40081","messageId":"20070422011743.GE17480@spearce.org","threadId":"7769","inReplyTo":"loom.20070421T190848-931@post.gmane.org","subject":"Re: Problem with git-clone","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-04-22T01:17:43Z","receivedAt":"2007-04-22T01:17:43Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Parag Warudkar <parag.warudkar@gmail.com> wrote:\n> I have a reproducible problem with git-index-pack getting stuck. \n> Is this a known problem fixed in one of the later releases? \n\nAre you on Mac OS X?  We found that earlier versions of index-pack on\nthat platform ran poorly unless we used pread().  A change was made\nin 1.5.0 to switch to pread for all platforms, which significantly\nimproved performance.\n \n> git --version\n> git version 1.4.4.2\n\nI'd upgrade your Git, the current version is 1.5.1.1.\n\n-- \nShawn.\n"},{"id":"40087","messageId":"82e4877d0704211935i396c54c8ld279527039edff40@mail.gmail.com","threadId":"7769","inReplyTo":"20070422011743.GE17480@spearce.org","subject":"Re: Problem with git-clone","fromName":"Parag Warudkar","fromEmail":"parag.warudkar@gmail.com","sentAt":"2007-04-22T02:35:21Z","receivedAt":"2007-04-22T02:35:21Z","isPatch":false,"sender":{"key":"parag.warudkar@gmail.com","avatar":null},"body":"On 4/21/07, Shawn O. Pearce <spearce@spearce.org> wrote:\n> Are you on Mac OS X?  We found that earlier versions of index-pack on\n> that platform ran poorly unless we used pread().  A change was made\n> in 1.5.0 to switch to pread for all platforms, which significantly\n> improved performance.\n\nNope, I am on Linux. But I did some more debugging and found that my\nrouter is the culprit - it has ACK errors in the logs and things start\nworking fine if I switch to another router.\n\n>\n> > git --version\n> > git version 1.4.4.2\n>\n> I'd upgrade your Git, the current version is 1.5.1.1.\n\nYes, on my list.\n\nThanks\nParag\n"}]}