mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Merge pull request #62 from greatest-ape/greatest-ape-patch-1
README: update info on locked memory limits
This commit is contained in:
commit
3a0ad3e8c2
1 changed files with 7 additions and 5 deletions
12
README.md
12
README.md
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue