From: Junio C Hamano Date: Fri, 15 May 2009 18:10:23 GMT Subject: Re: Funny error with git gc... Message-ID: <7vmy9etey8.fsf@alter.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > if you need a chuckle, like me, you might appreciate this story: in one of > my repositories, "git gc" dies with > > unable to open object pack directory: ...: Too many open files > > turns out that there are a whopping 1088 packs in that repository... Isn't it a more serious problem than a mere chuckle? How would one recover from such a situation (other than "mv .git/objects/pack-*; for p in pack-*.pack; do git unpack-objects <$p; done")?