OOM killer invoked PyTorch training job (PID 38291) consuming 62 GB of 64 GB RAM on Ubuntu, triggered by an unconstrained local training process.
The system ran out of memory during a large language model training job at 03:12 UTC. The Linux OOM killer terminated the training process after it consumed nearly all available RAM. The swap space (16 GB) was already exhausted. Root cause is unconstrained process memory growth combined with insufficient swap.
Very high confidence (93%) - OOM kill events leave unambiguous forensic traces in the journal. The exact PID, process name, and memory state at kill time are logged. Lower confidence scenarios: if the journal was corrupted or if multiple OOM events occurred in rapid succession.
- torch_train grew +42112 MB (python train.py --model llama)
- llm-finetune.service failed: LLM fine-tuning job
- Upgrade: nvidia-driver-550:amd64 (550.78, 550.90.07)
systemd service llm-finetune.service started
Training job begins
Memory pressure - 58 GB / 64 GB used, swap at 14 GB / 16 GB
System entering critical memory territory
kswapd0 consuming 100% CPU - aggressive reclamation
Kernel frantically freeing pages; system nearly unresponsive
oom_kill_process: torch_train pid=38291 score=923
OOM killer selects and terminates the training process
System reset - watchdog triggered 14s after OOM kill
Secondary crash: kernel hung after OOM, forcing hard reset
System boot - CrashPilotX forensic analysis begins
Recovery boot
journalweight95%
Out of memory: Kill process 38291 (torch_train) score 923 or sacrifice childOOM killer selected training process as kill target with near-maximum badness score (1000=worst)
journalweight92%
Mem-Info: MemFree: 32kB SwapFree: 0kBZero swap remaining - system completely exhausted both RAM and swap before OOM kill
journalweight88%
llm-finetune.service has no MemoryMax configuredService ran without a systemd memory cap, allowing unconstrained growth into host RAM
dmesgweight75%
[187234.442] kswapd0: page allocation failure order=3Kernel unable to allocate 8-page contiguous block - memory extremely fragmented
systemweight70%
load_15m: 47.3 (on 16-core system)Load average 3x CPU count indicates severe thrashing for 15+ minutes before crash
journalweight20%
llm-finetune.service: ExecStart=/usr/bin/python3 train.py --wandb-key=[REDACTED:labeled_credential]Service launch command referenced an experiment-tracking API key, redacted before this report was generated