Re: mlockall(MCL_CURRENT) blocking infinitely

From: Robert Stupp
Date: Wed Nov 06 2019 - 12:03:31 EST


Oh, and I just realized, that I have two custom settings in my
/etc/rc.local - guess, I configured that when I installed that machine
years ago. Sorry, that I haven't mentioned that earlier.

echo 0 > /sys/block/nvme0n1/queue/read_ahead_kb
echo never >
/sys/kernel/mm/transparent_hugepage/defrag

That setting is probably not quite standard, but I assume there are
some database server setups out there, that set RA=0 as well.