Diagnosing Unix Zombie Processes That Consume PIDs
Zombie processes show STAT Z in ps and consume PIDs without CPU or memory. Learn to diagnose the parent and decide when to restart or escalate.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Zombie processes show STAT Z in ps and consume PIDs without CPU or memory. Learn to diagnose the parent and decide when to restart or escalate.
Diagnose "Permission denied" on Unix by checking UID/GID, POSIX mode, ACLs, and mount options. Follow a step‑by‑step guide to identify the root cause and apply the correct fix.
A default Unix pipeline hides earlier failures. Learn how `set -euo pipefail` catches truncated backups and typo'd variables, and where strict mode still falls short.
Use POSIX ACLs to grant individual users or groups read/write access to a file without changing ownership or adding them to a Unix group.
A quick decision guide for when to use hard links vs symlinks, covering cross‑filesystem limits, backup impact, and how to verify link behavior.
Choose between POSIX fcntl record locks and BSD flock for Unix file coordination. Compare semantics, fork behavior, and NFS caveats before implementation.
A step‑by‑step guide to diagnose why Unix writes fail with ENOSPC while df reports free space, covering inode exhaustion, reserved blocks, deleted‑open files, and quota limits.
A diagnostic guide for Unix EMFILE and ENFILE errors: how to tell per-process exhaustion from system-wide limits, inspect open descriptors, and apply targeted fixes.
Create a systemd drop-in override with LimitNOFILE=65535, reload the manager, and restart the unit to raise the soft and hard RLIMIT_NOFILE for a service process.