update: add wsl commands to set the `vm.max_map_count` (#5077)
Added commands to set the vm.max_map_count on WSL Windows. Signed-off-by: colossus06 <96833570+colossus06@users.noreply.github.com> Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
This commit is contained in:
parent
97470eb642
commit
106a3fc96e
|
@ -77,6 +77,13 @@ vm.max_map_count=262144
|
|||
|
||||
Then run `sudo sysctl -p` to reload.
|
||||
|
||||
For Windows workloads, you can set the `vm.max_map_count` running the following commands:
|
||||
|
||||
```bash
|
||||
wsl -d docker-desktop
|
||||
sysctl -w vm.max_map_count=262144
|
||||
```
|
||||
|
||||
The [sample docker-compose.yml]({{site.url}}{{site.baseurl}}/install-and-configure/install-opensearch/docker/#sample-docker-composeyml) file also contains several key settings:
|
||||
|
||||
- `bootstrap.memory_lock=true`
|
||||
|
|
Loading…
Reference in New Issue