git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git push failing, unpacker error

From
Nicolas Pitre <nico@cam.org>
Date
Nov 9, 2007, 19:27 UTC
Message-ID
<alpine.LFD.0.9999.0711091416070.21255@xanadu.home>
In-Reply-To
<9e4733910711091009q2c6409fdj75cf8051d073c9c5@mail.gmail.com>
On Fri, 9 Nov 2007, Jon Smirl wrote:
Show 19 quoted lines
> On 11/9/07, Junio C Hamano <gitster@pobox.com> wrote:
> > "Jon Smirl" <jonsmirl@gmail.com> writes:
> >
> > > On 11/9/07, Jon Smirl <jonsmirl@gmail.com> wrote:
> > >> I updated both sides to current git and it still fails. How do I debug this?
> > >> What's causing this, "error: pack-objects died with strange error"?
> > >
> > > My remote host is running 2.4.32, is git ok on that kernel?
> >
> > No problem that I am aware of.  We are not *that* intimate with
> > the kernel.
> >
> > Do "git-fsck --full" on both repositories pass?
> 
> I've just discovered that the hosting company has a mechanism for
> killing processes that it believes are consuming too much memory. When
> git does it's mmap's it looks like it is using over 512MB of memory
> which causes it to get zapped. At least I think this is what is
> happening.
You might be interested by the following config variables:
	core.packedGitWindowSize
	core.packedGitLimit
	core.deltaBaseCacheLimit
	pack.windowMemory
	pack.deltaCacheSize

Certainly one or more of them could be tweaked in the remote repo to solve your problem. But since your problem happens on push then you should look at the core variables first.

Nicolas
Previous: Jon Smirl
Message 6 of 6 in “git push failing, unpacker error”
  1. Jon SmirlNov 9, 2007
  2. Jon SmirlNov 9, 2007
  3. Jon SmirlNov 9, 2007
  4. Junio C HamanoNov 9, 2007
  5. Jon SmirlNov 9, 2007
  6. Nicolas PitreNov 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.