Merge pull request #62 from greatest-ape/greatest-ape-patch-1

README: update info on locked memory limits
This commit is contained in:
Joakim Frostegård 2022-03-30 12:12:11 +02:00 committed by GitHub
commit 3a0ad3e8c2
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
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: