Re: git-daemon on NSLU2
From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:43:30
Jon Smirl [off-list ref] wrote:
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.