Operating system CentOS Linux 6.10
Webmin version 1.960 Usermin version 1.810
Virtualmin version 6.13
I’ve had a recent issue with memory on this server gradually being maxed out and exhausted never seemingly being cleared down.
I believe I’ve solved the issue by setting:
sudo sysctl -w vm.overcommit_memory=2
sudo sysctl -w vm.overcommit_ratio=100
However, when the server is rebooted I’m not sure these settings are being retained even though I added:
As when I run sudo sysctl -a I do not see these 2 settings listed?
Is the /etc/sysctl.conf the correct place to set this and/or is there anything else I need to do?