Note that there are some explanatory texts on larger screens.

plurals
  1. POGit push "error: index-pack died of signal 9"
    primarykey
    data
    text
    <p>I've seen a couple of <a href="https://stackoverflow.com/questions/718962/git-push-error-pack-objects-died-with-strange-error">similar</a> <a href="https://stackoverflow.com/questions/4025708/git-cant-push-unpacker-error">questions</a> to this, but haven't been able to solve my problem so am asking again. </p> <p>I added a load of new files to an existing git-enabled project and am trying to push them up. When I do the push, it compresses them, then writes them, then when it gets to %100 it fails out with this error:</p> <pre><code>error: index-pack died of signal 9 332.28 MiB | 5712 KiB/s error: pack-objects died with strange error error: failed to push some refs to '&lt;username&gt;@&lt;my repo location' </code></pre> <p>Things i have tried so far:</p> <ol> <li><p>going to the repo and making sure everything is writable, like suggested <a href="https://stackoverflow.com/questions/4025708/git-cant-push-unpacker-error">here</a></p></li> <li><p>setting the <code>binary -delta</code> option on some filetypes in .gitattributes</p></li> <li><p>moving some of the folders out (and git committing the delete) with a view to adding them back individually later. </p></li> </ol> <p>I'm kind of out of ideas... :/ Any suggestions? Grateful for any advice - max</p> <p>EDIT - I've since discovered that this is due to dreamhost killing the push due to excessive memory consumption (i did this by copying my app folder to the repo server on dreamhost and doing the push from there). </p> <p>I've <a href="http://wiki.dreamhost.com/Git" rel="nofollow noreferrer">found</a> some <a href="http://craigjolicoeur.com/blog/hosting-git-repositories-on-dreamhost" rel="nofollow noreferrer">pages</a>, - that talk about a <code>NO_MMAP=1</code> option in git to help prevent this, but they talk about it in terms of configuring git when it's installed. Can i set this option in an existing git install? Is it part of the config for the git-inited app that's doing the push or is it part of the config for the repo?</p> <p>EDIT 2 - following the instructions on the page above, I downloaded and made my own local git binaries, with the NO_MMAP=1 option set. </p> <p>I made sure these were before the dreamhost-installed versions in my path, and "which git" shows my local version, so far so good. But, i get exactly the same problem. </p> <p>Do i need to do something with my repo to make the NO_MMAP option work, or is the problem something else do you think?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload