From 751ef7966e2cb711370ae315997ee8244a807727 Mon Sep 17 00:00:00 2001 From: Alexander Lopatin Date: Sun, 20 Oct 2024 15:42:50 +0300 Subject: [PATCH] Fix #211: `memlock 73728` is the smallest limit that works for Alpine Linux 3.20.3 x86_64 build (#212) --- crates/ws/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ws/README.md b/crates/ws/README.md index 6e718663..fbebbd1a 100644 --- a/crates/ws/README.md +++ b/crates/ws/README.md @@ -63,6 +63,7 @@ proxied to IPv4 requests, and IPv6 requests to IPv6 requests. Make sure locked memory limits are sufficient: - If you're using a systemd service file, add `LimitMEMLOCK=65536000` to it +- If you're using openrc, make sure you have `rc_ulimit='-l 65536'` in your init script - Otherwise, add the following lines to `/etc/security/limits.conf`, and then log out and back in: @@ -71,6 +72,8 @@ Make sure locked memory limits are sufficient: * soft memlock 65536 ``` +In Alpine Linux you will likely need a [higher limit](https://github.com/greatest-ape/aquatic/issues/211). + Once done, start the application: ```sh