MongoDB: Disable transparent huge pages
A fix for Debian/Ubuntu
disable-transparent-hugepages fix for Debian/Ubuntu
Are you getting “WARNING: /sys/kernel/mm/transparent_hugepage/defrag is ‘always’.” ?
Run the following commands to quickly do what MongoDB describes at greater length.