Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: Problem with git-daemon and mmap.

From: Gerrit Pape <hidden>
Date: 2016-06-15 22:43:06

On Wed, Apr 25, 2007 at 04:21:15PM +0930, Tim Ansell wrote:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help