How To Install Memlockd On Debian, Ubuntu, Kali And Raspbian?

How To Install Memlockd On Debian, Ubuntu, Kali And Raspbian?

memlockd

daemon to lock files into RAM

Maintainer: Russell Coker


Section: admin

Install memlockd

  • Debian apt-get install memlockd Click to copy
  • Ubuntu apt-get install memlockd Click to copy
  • Kali Linux apt-get install memlockd Click to copy
  • Raspbian apt-get install memlockd Click to copy

memlockd

daemon to lock files into RAM

When a system starts paging excessively it may be impossible for the sysadmin to login for the purpose of killing the runaway processes (sometimes the login program times out due to thrashing). Memlockd allows important system files (such as /bin/login, /bin/getty, and the admin shell) to be locked in memory so that there will be no delay in accessing executable pages. In my tests this can decrease the time required for the administrator to login on a thrashing system by a factor of more than 3.

Install the latest version of memlockd in Debian, Ubuntu, Kali and Raspbian from terminal. To install the memlockd just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of memlockd from the respository and install it in your computer/server.