20261 post

  1. Debugging a systemd service without guessing

    A repeatable path from failed unit to useful evidence using systemctl, journalctl, exit status, and the unit's real runtime context.

    9 min

Notes

  1. MemoryHigh is a slope, MemoryMax is a cliff

    A container that runs out of memory did not run out of machine memory — it hit a limit recorded under /sys/fs/cgroup, which is why free -h inside the container…

    TIL
  2. Core dumps are free until you need one

    The kernel refuses to write core dumps by default (RLIMIT_CORE starts at 0), which is why production crashes usually leave nothing behind. systemd raises that…

    TIL
  3. Why is boot slow? Ask for the critical chain

    systemd-analyze blame sorts units by how long they took to start, but units start in parallel, so the slowest one often isn't what delayed boot. This shows the…

    TIL