From 2fdb45ed2c5a6f19deec3e2e02163a14e93e06a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Wed, 30 Mar 2022 02:06:23 +0200 Subject: [PATCH] README: update info on locked memory limits --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 49fd7c3..b7e18a0 100644 --- a/README.md +++ b/README.md @@ -120,13 +120,15 @@ in emitting of an info-level log message. ### Running -If you're running `aquatic_http` or `aquatic_ws`, make sure locked memory -limits are sufficient. You can do this by adding the following lines to -`/etc/security/limits.conf`, and then logging out and back in: +If you're running `aquatic_http` or `aquatic_ws`, please make sure locked memory +limits are sufficient: +- If you're using a systemd service file, add `LimitMEMLOCK=65536000` to it +- Otherwise, add the following lines to +`/etc/security/limits.conf`, and then log out and back in: ``` -* hard memlock 512 -* soft memlock 512 +* hard memlock 65536 +* soft memlock 65536 ``` Once done, start the application: