{"thread":{"id":"10747","subject":"git push failing, unpacker error","startedAt":"2007-11-09T05:55:57Z","lastAt":"2007-11-09T19:27:39Z","messageCount":6,"participants":["Jon Smirl","Junio C Hamano","Nicolas Pitre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"58994","messageId":"9e4733910711082155t62df9d4by10bd3f546ffbd950@mail.gmail.com","threadId":"10747","inReplyTo":null,"subject":"git push failing, unpacker error","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2007-11-09T05:55:57Z","receivedAt":"2007-11-09T05:55:57Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"Why is this push failing?\n\njonsmirl@terra:~/mpc5200b$ git push dreamhost\nupdating 'refs/remotes/linus/m24' using 'refs/heads/m24'\n  from 0000000000000000000000000000000000000000\n  to   06c52341cc9265b23e2d11eb631ff45e763215c0\nupdating 'refs/remotes/linus/m25' using 'refs/heads/m25'\n  from 0000000000000000000000000000000000000000\n  to   bef47d2064dd1a848597246291ef8a7654387dde\nupdating 'refs/remotes/linus/m26' using 'refs/heads/m26'\n  from 0000000000000000000000000000000000000000\n  to   35200c360d85fb74da55e57dfb16cb9d50b253e9\nupdating 'refs/remotes/linus/m28' using 'refs/heads/m28'\n  from 0000000000000000000000000000000000000000\n  to   a77cec0752aa8a00b95a44d1028d5f9b989354a4\nupdating 'refs/remotes/linus/m29' using 'refs/heads/m29'\n  from 0000000000000000000000000000000000000000\n  to   0c4bfa1cbed0070e5d0cc739ab0ac4c04290b8d3\nCounting objects: 81156, done.\nCompressing objects: 100% (16575/16575), done.\nWriting objects: 100% (70133/70133), done.\nTotal 70133 (delta 57185), reused 66194 (delta 53490)\nunpack index-pack abnormal exit\nng refs/remotes/linus/m24 n/a (unpacker error)\nng refs/remotes/linus/m25 n/a (unpacker error)\nng refs/remotes/linus/m26 n/a (unpacker error)\nng refs/remotes/linus/m28 n/a (unpacker error)\nng refs/remotes/linus/m29 n/a (unpacker error)\nerror: failed to push to 'ssh://jonsmirl1@git.digispeaker.com/~/mpc5200b.git'\njonsmirl@terra:~/mpc5200b$\n\n\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"59056","messageId":"9e4733910711090637tcf7e837na863a4276578bf3f@mail.gmail.com","threadId":"10747","inReplyTo":"9e4733910711082155t62df9d4by10bd3f546ffbd950@mail.gmail.com","subject":"Re: git push failing, unpacker error","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2007-11-09T14:37:21Z","receivedAt":"2007-11-09T14:37:21Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"I updated both sides to current git and it still fails. How do I debug this?\nWhat's causing this, \"error: pack-objects died with strange error\"?\n\n\njonsmirl@terra:~/mpc5200b$ git push dreamhost\nTo ssh://jonsmirl1@git.digispeaker.com/~/mpc5200b.git\n * [new branch]      m24 -> linus/m24\n * [new branch]      m25 -> linus/m25\n * [new branch]      m26 -> linus/m26\n * [new branch]      m28 -> linus/m28\n * [new branch]      m29 -> linus/m29\nCounting objects: 81156, done.\nCompressing objects: 100% (15280/15280), done.\nerror: pack-objects died with strange errorMiB | 412 KiB/s\nunpack index-pack abnormal exit\nng refs/remotes/linus/m24 n/a (unpacker error)\nng refs/remotes/linus/m25 n/a (unpacker error)\nng refs/remotes/linus/m26 n/a (unpacker error)\nng refs/remotes/linus/m28 n/a (unpacker error)\nng refs/remotes/linus/m29 n/a (unpacker error)\nerror: failed to push to 'ssh://jonsmirl1@git.digispeaker.com/~/mpc5200b.git'\njonsmirl@terra:~/mpc5200b$\n\n\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"59057","messageId":"9e4733910711090643t493b0e6fl2a18390a2f9ab842@mail.gmail.com","threadId":"10747","inReplyTo":"9e4733910711090637tcf7e837na863a4276578bf3f@mail.gmail.com","subject":"Re: git push failing, unpacker error","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2007-11-09T14:43:49Z","receivedAt":"2007-11-09T14:43:49Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"On 11/9/07, Jon Smirl <jonsmirl@gmail.com> wrote:\n> I updated both sides to current git and it still fails. How do I debug this?\n> What's causing this, \"error: pack-objects died with strange error\"?\n\nMy remote host is running 2.4.32, is git ok on that kernel?\n\n>\n>\n> jonsmirl@terra:~/mpc5200b$ git push dreamhost\n> To ssh://jonsmirl1@git.digispeaker.com/~/mpc5200b.git\n>  * [new branch]      m24 -> linus/m24\n>  * [new branch]      m25 -> linus/m25\n>  * [new branch]      m26 -> linus/m26\n>  * [new branch]      m28 -> linus/m28\n>  * [new branch]      m29 -> linus/m29\n> Counting objects: 81156, done.\n> Compressing objects: 100% (15280/15280), done.\n> error: pack-objects died with strange errorMiB | 412 KiB/s\n> unpack index-pack abnormal exit\n> ng refs/remotes/linus/m24 n/a (unpacker error)\n> ng refs/remotes/linus/m25 n/a (unpacker error)\n> ng refs/remotes/linus/m26 n/a (unpacker error)\n> ng refs/remotes/linus/m28 n/a (unpacker error)\n> ng refs/remotes/linus/m29 n/a (unpacker error)\n> error: failed to push to 'ssh://jonsmirl1@git.digispeaker.com/~/mpc5200b.git'\n> jonsmirl@terra:~/mpc5200b$\n>\n>\n>\n> --\n> Jon Smirl\n> jonsmirl@gmail.com\n>\n\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"59096","messageId":"7vtznvtii4.fsf@gitster.siamese.dyndns.org","threadId":"10747","inReplyTo":"9e4733910711090643t493b0e6fl2a18390a2f9ab842@mail.gmail.com","subject":"Re: git push failing, unpacker error","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-11-09T17:51:15Z","receivedAt":"2007-11-09T17:51:15Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Jon Smirl\" <jonsmirl@gmail.com> writes:\n\n> On 11/9/07, Jon Smirl <jonsmirl@gmail.com> wrote:\n>> I updated both sides to current git and it still fails. How do I debug this?\n>> What's causing this, \"error: pack-objects died with strange error\"?\n>\n> My remote host is running 2.4.32, is git ok on that kernel?\n\nNo problem that I am aware of.  We are not *that* intimate with\nthe kernel.\n\nDo \"git-fsck --full\" on both repositories pass?\n"},{"id":"59102","messageId":"9e4733910711091009q2c6409fdj75cf8051d073c9c5@mail.gmail.com","threadId":"10747","inReplyTo":"7vtznvtii4.fsf@gitster.siamese.dyndns.org","subject":"Re: git push failing, unpacker error","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2007-11-09T18:09:16Z","receivedAt":"2007-11-09T18:09:16Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"On 11/9/07, Junio C Hamano <gitster@pobox.com> wrote:\n> \"Jon Smirl\" <jonsmirl@gmail.com> writes:\n>\n> > On 11/9/07, Jon Smirl <jonsmirl@gmail.com> wrote:\n> >> I updated both sides to current git and it still fails. How do I debug this?\n> >> What's causing this, \"error: pack-objects died with strange error\"?\n> >\n> > My remote host is running 2.4.32, is git ok on that kernel?\n>\n> No problem that I am aware of.  We are not *that* intimate with\n> the kernel.\n>\n> Do \"git-fsck --full\" on both repositories pass?\n\nI've just discovered that the hosting company has a mechanism for\nkilling processes that it believes are consuming too much memory. When\ngit does it's mmap's it looks like it is using over 512MB of memory\nwhich causes it to get zapped. At least I think this is what is\nhappening.\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"59116","messageId":"alpine.LFD.0.9999.0711091416070.21255@xanadu.home","threadId":"10747","inReplyTo":"9e4733910711091009q2c6409fdj75cf8051d073c9c5@mail.gmail.com","subject":"Re: git push failing, unpacker error","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2007-11-09T19:27:39Z","receivedAt":"2007-11-09T19:27:39Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Fri, 9 Nov 2007, Jon Smirl wrote:\n\n> On 11/9/07, Junio C Hamano <gitster@pobox.com> wrote:\n> > \"Jon Smirl\" <jonsmirl@gmail.com> writes:\n> >\n> > > On 11/9/07, Jon Smirl <jonsmirl@gmail.com> wrote:\n> > >> I updated both sides to current git and it still fails. How do I debug this?\n> > >> What's causing this, \"error: pack-objects died with strange error\"?\n> > >\n> > > My remote host is running 2.4.32, is git ok on that kernel?\n> >\n> > No problem that I am aware of.  We are not *that* intimate with\n> > the kernel.\n> >\n> > Do \"git-fsck --full\" on both repositories pass?\n> \n> I've just discovered that the hosting company has a mechanism for\n> killing processes that it believes are consuming too much memory. When\n> git does it's mmap's it looks like it is using over 512MB of memory\n> which causes it to get zapped. At least I think this is what is\n> happening.\n\nYou might be interested by the following config variables:\n\n\tcore.packedGitWindowSize\n\tcore.packedGitLimit\n\tcore.deltaBaseCacheLimit\n\tpack.windowMemory\n\tpack.deltaCacheSize\n\nCertainly one or more of them could be tweaked in the remote repo to \nsolve your problem. But since your problem happens on push then you \nshould look at the core variables first.\n\n\nNicolas\n"}]}