user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH] doc: tuning: add a note about Linux sys.vm.max_map_count
@ 2021-06-24  8:32 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-06-24  8:32 UTC (permalink / raw)
  To: meta

git tends to die when mmap(2) fails on this limit, so let
users know about it.  Perhaps git could gracefully fallback.
 Documentation/public-inbox-tuning.pod | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/public-inbox-tuning.pod b/Documentation/public-inbox-tuning.pod
index 58937f73..67316fb1 100644
--- a/Documentation/public-inbox-tuning.pod
+++ b/Documentation/public-inbox-tuning.pod
@@ -34,6 +34,10 @@ Performance on solid state drives
 Read-only daemons
+=item 7
+Other OS tuning knobs
 =head2 New inboxes: public-inbox-init -V2
@@ -148,6 +152,15 @@ Transport Layer Security (IMAPS, NNTPS, or via STARTTLS) significantly
 increases memory use of client sockets, sure to account for that in
 capacity planning.
+=head2 Other OS tuning knobs
+Linux users: the C<sys.vm.max_map_count> sysctl may need to be increased if
+handling thousands of inboxes (with L<public-inbox-extindex(1)>) to avoid
+out-of-memory errors from git.
+Other OSes may have similar tuning knobs (patches appreciated).
 =head1 CONTACT
 Feedback encouraged via plain-text mail to L<>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-24  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24  8:32 [PATCH] doc: tuning: add a note about Linux sys.vm.max_map_count Eric Wong

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ \
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor:

code repositories for project(s) associated with this inbox:

AGPL code for this site: git clone