How to Install and Uninstall memlockd Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 14,2024

1. Install "memlockd" package

Please follow the guidance below to install memlockd on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install memlockd

2. Uninstall "memlockd" package

Here is a brief guide to show you how to uninstall memlockd on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove memlockd $ sudo apt autoclean && sudo apt autoremove

3. Information about the memlockd package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: memlockd
Priority: optional
Section: universe/admin
Installed-Size: 92
Maintainer: Ubuntu Developers
Original-Maintainer: Russell Coker
Architecture: amd64
Version: 1.1.1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), adduser
Filename: pool/universe/m/memlockd/memlockd_1.1.1_amd64.deb
Size: 13492
MD5sum: 927867cb828eab0aaec94cc20f499e87
SHA1: 385c4f8b05a046fd471e71caedf0eb91af06fc0c
SHA256: 4ed81e689ae246f0486114c1799213eb561e483d4471d5467642983dce1b97e5
Description-en: 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.
Description-md5: bf4c223ba5cd1bf18b71091e8cb5dc57
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu