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-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 AA1DC20088 for ; Mon, 1 Feb 2021 08:28:35 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 21/21] doc: note optional BSD::Resource use Date: Sun, 31 Jan 2021 22:28:33 -1000 Message-Id: <20210201082833.3293-22-e@80x24.org> In-Reply-To: <20210201082833.3293-1-e@80x24.org> References: <20210201082833.3293-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We've actually been capable of using this since 2019(*) in our spawn code for PSGI limiters. And it's been used since 2016 in our tests. It's a dependency of SpamAssassin, and Danga::Socket used it, too. (*) commit 721368cd04bfbd03c0d9173fff633ae34f16409a ("spawn: support RLIMIT_CPU, RLIMIT_DATA and RLIMIT_CORE") --- Documentation/public-inbox-config.pod | 2 +- INSTALL | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index 4a97fe3b..904af804 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -335,7 +335,7 @@ limiter with a low max value; while smaller inboxes can use the default limiter. C keys may be set to enforce resource limits for -a particular limiter. +a particular limiter (L is required). Default named-limiters are prefixed with "-". Currently, the "-cgit" named limiter is reserved for instances spawning diff --git a/INSTALL b/INSTALL index de871b1a..36d89814 100644 --- a/INSTALL +++ b/INSTALL @@ -86,6 +86,7 @@ Numerous optional modules are likely to be useful as well: - Inline::C deb: libinline-c-perl pkg: pkg-Inline-C + rpm: perl-Inline (or perl-Inline-C) (speeds up process spawning on Linux, see public-inbox-daemon(8)) @@ -100,6 +101,11 @@ Numerous optional modules are likely to be useful as well: rpm: perl-ParseRecDescent (optional, for public-inbox-imapd(1)) +- BSD::Resource deb: libbsd-resource-perl + pkg: p5-BSD-Resource + rpm: perl-BSD-Resource + (optional, for PSGI limiters + see public-inbox-config(5)) - Plack::Middleware::ReverseProxy deb: libplack-middleware-reverseproxy-perl pkg: p5-Plack-Middleware-ReverseProxy