The configuration community:
memlock
Information
Lock the mysqld process in memory. This works on systems such as Solaris that support the mlockall() system call. This might help if you have a problem where the operating system is causing mysqld to swap on disk. Note that use of this option requires that you run the server as root which is normally not a good idea for security reasons.
Syntax
Example



