How to Install and Uninstall memlockd Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 21,2024

1. Install "memlockd" package

Please follow the step by step instructions below to install memlockd on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install memlockd

2. Uninstall "memlockd" package

This tutorial shows how to uninstall memlockd on Ubuntu 21.10 (Impish Indri):

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

3. Information about the memlockd package on Ubuntu 21.10 (Impish Indri)

Package: memlockd
Architecture: amd64
Version: 1.2.1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Russell Coker
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 56
Depends: libc6 (>= 2.14), adduser
Filename: pool/universe/m/memlockd/memlockd_1.2.1_amd64.deb
Size: 13304
MD5sum: de92bb6fd812bc7d45a75fa828b855a2
SHA1: 9381bcbc66fb5fdb46ac538da7ff8a6fb69d4d9c
SHA256: c2da4c365f320fd74c81ac891094a0567c22b1734ac112eeb87ffec56049fa7e
SHA512: 3cd7192307ac8a4aea79bfeb1c8bb5e8a8f7323334ee624cdc773470d9875602e6f92589aa33bd6df4f12df8ab03201f8290400e931a7e8eec0c2293d979d304
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