A process ignores `kill <PID>` (SIGTERM) and keeps running.
BeginnerTroubleshootingProcesses, memory and OOM
Answer
Likely causes → The process catches or ignores SIGTERM, is busy in a long shutdown, or you're signalling a wrapper and not the real worker.
Diagnose →
grep -E 'SigCgt|SigIgn' /proc/<PID>/status
pstree -p <PID>
Fix → Wait for graceful shutdown; check the app's logs. If it's truly stuck, kill -KILL <PID>. For process trees, signal the group: kill -TERM -- -<PGID>.
Prevent → Make apps handle SIGTERM properly; in containers, make the app PID 1 or use exec in entrypoint scripts.
More on Processes, memory and OOM
A Java service disappears without an error in its own log. `dmesg` shows `Out of memory: Killed process 4121 (java) total-vm:... anon-rss:...`.BeginnerA service gets killed with `Memory cgroup out of memory: Killed process ...` but the host has 20 GB free.Intermediate`ps` shows dozens of processes in state `Z` with `<defunct>`.BeginnerZombie count keeps climbing into the thousands and new processes fail with `fork: Resource temporarily unavailable`.AdvancedAn app crashes under load with `java.io.IOException: Too many open files` (or `EMFILE`).BeginnerYou raised `nofile` in `/etc/security/limits.conf` to 65536, but the service still shows `Max open files 1024`.Intermediate