mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
README: mention need to raise memlock limits
This commit is contained in:
parent
dcf86d2df2
commit
93d4e43cfa
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -25,6 +25,16 @@ of sub-implementations for different protocols:
|
||||||
|
|
||||||
- Install Rust with [rustup](https://rustup.rs/) (stable is recommended)
|
- Install Rust with [rustup](https://rustup.rs/) (stable is recommended)
|
||||||
- Install cmake with your package manager (e.g., `apt-get install cmake`)
|
- Install cmake with your package manager (e.g., `apt-get install cmake`)
|
||||||
|
- Unless you're planning to only run aquatic_udp and only the cross-platform,
|
||||||
|
mio based implementation, 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:
|
||||||
|
|
||||||
|
```
|
||||||
|
* hard memlock 512
|
||||||
|
* soft memlock 512
|
||||||
|
```
|
||||||
|
|
||||||
- Clone this git repository and enter it
|
- Clone this git repository and enter it
|
||||||
|
|
||||||
### Compiling
|
### Compiling
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue