Closed radusuciu closed 4 years ago
Fixing on host:
For the first error, issue sudo sysctl vm.overcommit_memory=1
and add vm.overcommit_memory = 1
to /etc/sysctl.conf
And for the 2nd, THP error, took solution from: https://stackoverflow.com/questions/44800633/how-to-disable-transparent-huge-pages-thp-in-ubuntu-16-04lts
Edit /etc/rc.local and put following script before exit 0
if test -f /sys/kernel/mm/transparent_hugepage/enabled; then
echo never > /sys/kernel/mm/transparent_hugepage/enabled
fi
then (as root, sudo didn't work): echo never > /sys/kernel/mm/transparent_hugepage/enabled