From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C8EC71F8C6 for ; Thu, 24 Jun 2021 08:32:05 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] doc: tuning: add a note about Linux sys.vm.max_map_count Date: Thu, 24 Jun 2021 08:32:05 +0000 Message-Id: <20210624083205.16675-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 + =back =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 sysctl may need to be increased if +handling thousands of inboxes (with L) 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