Re: Problem with git-daemon and mmap.
- From
Gerrit Pape <pape@smarden.org>
- Date
- Apr 25, 2007, 07:42 UTC
- Message-ID
- <20070425074233.7494.qmail@076ec8c0ddad74.315fe32.mid.smarden.org>
- In-Reply-To
- <1177483875.12689.22.camel@localhost>
On Wed, Apr 25, 2007 at 04:21:15PM +0930, Tim Ansell wrote:
Show 5 quoted lines
> I am trying to use git-daemon on a Debian stable machine. We converted > our repositories from darcs to git using tailor (which seemed to work > well). Most of the repositories work fine, however our web repository > which is quite large (about ~126Mb) is causing problems when trying to > clone via git-daemon.
> The machine as only 512mb of Ram. It isn't running much else apart from > a few websites served via apache. Here is some more (hopefully useful)
> ii git-daemon-run 1.5.1.1-1 > fast, scalable, distributed revision control
> Hopefully this gives you enough information to track down this bug. I'm > happy to provide more information if needed. I'll also be on #git, but > I'm in Australia so you might have a hard time catching me.
In the debian package version 1.4.4.4, git-daemon's memory by default is limited to 64MB. I changed that with 1.5.0, but maybe you chose to not accept the changes to the run script when upgrading to 1.5.5.1-1.
Check /var/service/git-daemon/run, if it has 'exec chpst -m64000000 git-daemon ...'. If so, remove 'chpst -m64000000', and restart the git-daemon service through 'sv restart git-daemon'.
HTH, Gerrit.