Learn Linux kernel internals for SRE work: processes, memory, cgroups, namespaces, the CPU scheduler, and live diagnosis with /proc, strace, and eBPF.
The production incident that changes how you think about Linux It is 3 AM.
What actually happens between power-on and your first prompt Linux boots in four hand-offs: firmware, bootloader, kernel, and systemd.
How fork and exec actually create a process Every process in Linux is created by another process using two syscalls working together, fork() and...
The three layer model that explains everything A file descriptor is a small integer that points through two kernel tables to a real file, socket or...
Why every process lives in its own virtual memory universe Virtual memory gives each process the illusion that it owns the entire address space of...
Why /proc is the kernel's window into itself /proc is a virtual filesystem that exists only in memory: every file is generated on demand by the...
The production incident that changes how you think about Linux It is 3 AM.
What actually happens between power-on and your first prompt Linux boots in four hand-offs: firmware, bootloader...
How fork and exec actually create a process Every process in Linux is created by another process using two syscalls...
The three layer model that explains everything A file descriptor is a small integer that points through two kernel...
Why every process lives in its own virtual memory universe Virtual memory gives each process the illusion that it owns...
Why /proc is the kernel's window into itself /proc is a virtual filesystem that exists only in memory: every file is...
What cgroups are and why they matter for Kubernetes cgroups (control groups) are a kernel feature that groups processes...
How CFS decides who runs next The CFS (Completely Fair Scheduler) gives every runnable process an equal share of CPU...
Why iowait is not the same as disk saturation Disk problems are hard to diagnose because they show up as everything...
What the USE method is and why ad hoc debugging fails The USE Method is a structured way to find bottlenecks: for every...
Setup This lab takes you through five real SRE diagnostic scenarios using kernel level tools.
Essential /proc paths Keep this table close during an incident.
Roles that use the skills in this module.
Site Reliability Engineer
DevOps Engineer
Platform Engineer
Cloud Engineer
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding SheetThe process may have run out of file descriptors, or its accept queue may be full. Both are invisible to systemctl and top. Check the process with ls /proc/PID/fd and cat /proc/PID/limits, then run ss -lnt to compare Recv-Q with Send-Q.
No. Linux deliberately fills spare RAM with page cache, so the free column is usually small on a healthy server. The available column is the real number, because it includes cache the kernel can drop instantly.
It means the container crossed its own memory limit, which is enforced by a cgroup. The kernel's OOM killer fired inside that cgroup, not for the whole host. The node can have plenty of free RAM while the pod still dies.
You cannot kill a zombie, because it is already dead. It only waits for its parent to call wait(). Fix or restart the parent process, and the kernel (or PID 1) cleans up the zombies.
No. A container is an ordinary Linux process that runs on the host kernel with a restricted view of the system. Namespaces limit what it can see, and cgroups limit what it can use. There is only one kernel on the machine.