git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Ansell <mithro@mithis.com>
To: Gerrit Pape <pape@smarden.org>
Cc: git@vger.kernel.org
Subject: Re: Problem with git-daemon and mmap.
Date: Wed, 25 Apr 2007 17:31:13 +0930	[thread overview]
Message-ID: <1177488073.12689.30.camel@localhost> (raw)
In-Reply-To: <20070425074233.7494.qmail@076ec8c0ddad74.315fe32.mid.smarden.org>

<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

  reply	other threads:[~2007-04-25  8:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25  6:51 Problem with git-daemon and mmap Tim Ansell
2007-04-25  7:42 ` Gerrit Pape
2007-04-25  8:01   ` Tim Ansell [this message]
2007-04-25  8:11     ` Gerrit Pape
2007-04-25  7:43 ` Shawn O. Pearce
2007-04-25 16:13   ` Linus Torvalds
2007-04-25  8:17 ` Alex Riesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1177488073.12689.30.camel@localhost \
    --to=mithro@mithis.com \
    --cc=git@vger.kernel.org \
    --cc=pape@smarden.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).