CertGrid CertGrid
Troubleshooting·CompTIA Linux+

Memory, permissions, and what the machine complains about

Domain 5 names memory and permission faults alongside storage, CPU and network. This guide caps a process at 64 MB and watches it swap rather than die, takes the swap away and watches the kernel kill it, then traces a permission denial along every component of a path - and ends with the two commands worth running on any machine you have just been given.

Troubleshooting Guide 13 of 28 Intermediate

One host. Every measurement here is about this machine's own memory and filesystem, and the RPM family behaves identically.
Server NameIP AddressOSRolesCPURAMHDD
LPLUS-A01192.168.0.73Ubuntu 26.04 LTSDebian-family host - apt, ufw, netplan, AppArmor2 Core4 GB50 GB

This guide includes

Use this when a process is being killed and nothing says why, or when a file with correct permissions cannot be read. This matters because a memory limit without a swap limit does not stop anything, and because the permission that blocks you is usually not on the file you are looking at.

Before you start

  1. What memory the machine has, and what it is doing with it

  2. A process given 64 MB, and what it does with the limit

  3. The same limit, with swap taken away

  4. A permission fault, traced along the whole path

  5. What the machine is complaining about

  6. Putting the machine back

Official sources