Process Problems
Cheat sheet · https://pcornel.dk/topic.php?topic=2922
Answer
Process problems are processes that hang, crash, become zombies, use unexpected resources, or cannot be stopped.
Remember
Find its state and owner. D state → storage; Z → parent; crashes → journal and core dumps (coredumpctl). Stop through its systemd unit.
First checks
journalctl -b -p err— errors this bootsystemctl --failed— failed unitsdf -h; df -i— space and inodesss -tulpn— listening socketsdmesg -T | tail— recent kernel messages
Commands
systemctl status <pid>systemctl stop <unit>
Verify in this order
process state → owner/unit → cause (I/O, parent, crash, loop) → fix → restart
Where it usually breaks
First mismatch in persistent intent → provider/parser/generator → kernel/userspace runtime → dependency/security context → logs/counters → consumer-visible read-back; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2922