Tag: Memory

Linux Process & Memory Errors: OOM, ulimit, fork failures

Working reference for the 10 most common Linux process and memory errors. OOM killer victim selection (oom_score / oom_score_adj), ENOMEM and vm.overcommit_memory, EMFILE too-many-open-files (ulimit -n vs systemd LimitNOFILE vs fs.file-max), EAGAIN on fork (nproc limit), SIGSEGV with core-dump analysis, swap-thrash kills, D-state uninterruptible sleep diagnosis (/proc/PID/wchan + stack), system-wide ENFILE, pthread_create failures, silent cron failures. Cross-links to Process Management and System Monitoring command references.