Fix #211: memlock 73728 is the smallest limit that works for Alpine Linux 3.20.3 x86_64 build (#212)

This commit is contained in:
Alexander Lopatin 2024-10-20 15:42:50 +03:00 committed by GitHub
parent 88b1292672
commit 751ef7966e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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