Linux – How to know if the Linux server killed the process and which process it killed

killkill-processlinuxprocess

It seems my server killed a process due to it using too much RAM. Is this possible? If it can happen, how can I know when and what process it killed?

Best Answer

It's quite possibly OOM killer, killed your process. You may be able to find out what when etc by looking in the logs.

egrep -i 'killed process' /var/log/messages

The actual log file varies by distribution so it could also be /var/log/syslog or even

egrep -i -r 'killed process' /var/log