README: update info on locked memory limits

This commit is contained in:
Joakim Frostegård 2022-03-30 02:06:23 +02:00 committed by GitHub
parent cf6a11f3ca
commit 2fdb45ed2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,13 +120,15 @@ in emitting of an info-level log message.
### Running ### Running
If you're running `aquatic_http` or `aquatic_ws`, make sure locked memory If you're running `aquatic_http` or `aquatic_ws`, please make sure locked memory
limits are sufficient. You can do this by adding the following lines to limits are sufficient:
`/etc/security/limits.conf`, and then logging out and back in: - 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 * hard memlock 65536
* soft memlock 512 * soft memlock 65536
``` ```
Once done, start the application: Once done, start the application: