From: Robin H. Johnson Date: Tue, 10 Aug 2010 00:46:36 GMT Subject: Re: Git server eats all memory Message-ID: In-Reply-To: On Wed, Aug 04, 2010 at 04:57:39PM +0200, Ivan Kanis wrote: > I am wondering if anyone has seen this behavior? I'll do whatever I can > to troubleshoot the problem. I know C but I just don't know where to > look at. Any help would be very much appreciated. We've seen a similar problem in experimental planning for migrating the core Gentoo repository to Git. That's a 900MiB packfile ('git repack -adf --window=250 --depth=250' taking 2 hours). Multiple concurrent full clones push the server into swap. We had 16GiB of RAM, and this was still occurring. Our temporary solution plan is via hooks, if you're asking for a item before a certain point, throw an error telling you to download a git-bundle from a given URL instead (as a bonus you can resume that trivially). -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85