Linux OOM

I’ve been working on a bug recently related to udev which under certain circumstances triggers an OOM on the Linux kernel. On another bug, I also wanted to look for the max open processes for a single file. The results I found and pretty good. The Linux Kernel’s OOM feature has imporved a lot. This is the one liner used to trigger the OOM. while true; do tail -f /tmp/test.txt & x=expr $x + 1; echo $x; done [Read More]