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 05:31:13PM +0930, Tim Ansell wrote:
> > 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'.

> It appears that after upgrading the git-daemon-run from 1.4.4 to 1.5.1,
> I didn't do a "sv restart git-daemon".

Probably the package upgrade should have done this for you, my fault.

> After running the command I can now do a checkout form the web
> repository, yay!
> 
> It appears to use 128m of virtual memory when checking out the
> repository (which is why it would be hitting the 64Mb limit).
> 
> Would adding a "chpst -m256000000" be a good idea?

I personally think so, yes, limiting the memory for long running
processes (services) generally is a good idea.  But finding a good
default for git-daemon isn't easy, as it depends on the repositories it
serves, and requires lots of memory per se.  So on Debian, it's now
unlimited by default.

Regards, 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]