diff options
author | Eric Wong <e@80x24.org> | 2021-01-31 22:28:33 -1000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-01 11:38:30 +0000 |
commit | 1c2036674a7f355b47826e2dd494d126c8564b68 (patch) | |
tree | ddecd947ddac0b8c130c91393e4a11f3136b0297 | |
parent | 6d50cd33d0186edfb395a9015a7246ef94537909 (diff) | |
download | public-inbox-1c2036674a7f355b47826e2dd494d126c8564b68.tar.gz |
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")
-rw-r--r-- | Documentation/public-inbox-config.pod | 2 | ||||
-rw-r--r-- | INSTALL | 6 |
2 files changed, 7 insertions, 1 deletions
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<RLIMIT_*> keys may be set to enforce resource limits for -a particular limiter. +a particular limiter (L<BSD::Resource(3pm)> is required). Default named-limiters are prefixed with "-". Currently, the "-cgit" named limiter is reserved for instances spawning @@ -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 |