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

add the memory limits on ansible role #25

Open
kayiwa opened this issue Apr 10, 2020 · 2 comments
Open

add the memory limits on ansible role #25

kayiwa opened this issue Apr 10, 2020 · 2 comments

Comments

@kayiwa
Copy link
Collaborator

kayiwa commented Apr 10, 2020

sysctl vm.overcommit_memory=1 

and

sudo sysctl -w vm.max_map_count=262144
@kayiwa
Copy link
Collaborator Author

kayiwa commented Apr 10, 2020

something like

sudo bash -c 'echo "vm.max_map_count=262144" >> /etc/sysctl.conf'
sudo bash -c 'echo "vm.overcommit_memory=1">> /etc/sysctl.conf'

@kayiwa
Copy link
Collaborator Author

kayiwa commented Apr 11, 2020

and scaleway seems to require this.

sudo bash -c 'echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf'

@kayiwa kayiwa mentioned this issue Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant