Re: git-daemon on NSLU2
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Aug 24, 2007, 06:21 UTC
- Message-ID
- <20070824062106.GV27913@spearce.org>
- In-Reply-To
- <9e4733910708232254w4e74ca72o917c7cadae4ee0f4@mail.gmail.com>
Jon Smirl <jonsmirl@gmail.com> wrote:
Show 18 quoted lines
> Any ideas on why git protocol clone is failing? > > 2007-08-24_20:51:33.85649 [9758] Connection from 72.74.92.181:19367 > 2007-08-24_20:51:33.85828 [9758] Extended attributes (33 bytes) exist > <host=git.jonsmirl.is-a-geek.net> > 2007-08-24_20:51:33.96990 [9758] Request upload-pack for > '/home/git/mpc5200b.git' > 2007-08-24_20:51:45.00789 fatal: Out of memory? mmap failed: Cannot > allocate memory > 2007-08-24_20:51:45.08746 error: git-upload-pack: git-rev-list died with error. > 2007-08-24_20:51:45.08771 fatal: git-upload-pack: aborting due to > possible repository corruption on the remote side. > > NSLU2 ($70) is 266Mhz ARM with 32MB memory. > It's running Debian on a 250GB disk with 180MB swap. > > Watching top the process runs up to about 60MB in virtual size and exits. > Setting the window down made no difference packedGitWindowSize = 4194304
ulimits? packedGitLimit may also need to be decreased? Though we always try to free unused windows before we declare we are out of memory...
-- Shawn.