Is it possible to view full program command line arguments in OOM killler logs ?
What I see now in /var/log/syslog is
Memory cgroup out of memory: Kill process 29187 (beam.smp) score 998 or sacrifice child
Killed process 29302 (cpu_sup) total-vm:4300kB, anon-rss:76kB, file-rss:272kB
beam.smp invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0
beam.smp cpuset=/ mems_allowed=0-3
I have plenty of beam.smp processes on my machine and it's not very convenient to find out what particular process was killed by OOM killer.
Best Answer
which seems about the max that you can get the kernel to display on out-of-memory errors.
https://www.kernel.org/doc/Documentation/sysctl/vm.txt