git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Problem with git-daemon and mmap.

From
Tim Ansell <mithro@mithis.com>
Date
Apr 25, 2007, 08:01 UTC
Message-ID
<1177488073.12689.30.camel@localhost>
In-Reply-To
<20070425074233.7494.qmail@076ec8c0ddad74.315fe32.mid.smarden.org>
<snip>
Show 7 quoted lines
> 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
Previous: Gerrit PapeNext: Gerrit Pape
Message 3 of 7 in “Problem with git-daemon and mmap.”
  1. Tim AnsellApr 25, 2007
  2. Gerrit PapeApr 25, 2007
  3. Tim AnsellApr 25, 2007
  4. Gerrit PapeApr 25, 2007
  5. Shawn O. PearceApr 25, 2007
  6. Linus TorvaldsApr 25, 2007
  7. Alex RiesenApr 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.