Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How can i disable overcommit_memory?
I have a postgresql server and i’m trying to disable the overcoomit_memory on my server.
It should be simple, a single line command: sysctl -w vm.overcommit_memory=2
No need to reboot.
But as i ran the command, my server will “stop” and then the only way to get it responding again is rebooting the droplet.
Does anyone knows why it happen and how to fix?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×