Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions crates/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand Down
Loading