Re: Problem with git-daemon and mmap.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]