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

Re: Problem with git-daemon and mmap.

From: Tim Ansell <hidden>
Date: 2016-06-15 22:43:06

<snip>
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'.
Doh!

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".

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?

Thanks for your help.

Tim Ansell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help