PostgreSQL and the OOM Killer: Why We Use Strict Memory Overcommit
ubicloud.com
ubicloud.com
In hindsight, the kernel bug seems obvious, but the process of tracking it down was quite interesting. I especially enjoyed the statistical analysis part, which isn't something you normally get to do while debugging :)
Anyway, I'd be happy to answer any questions you might have.