OOM killer inside erlang VM

Max Lapshin <>
Thu Nov 11 20:46:59 CET 2010


I've asked this question one year ago: how to behave if it is
impossible to allocate memory.

mem_sup knows which process is the largest. In 99% of my cases the
largest process is faulty one, which must be killed.
Kenneth told about per-process quota:
http://groups.google.com/group/erlang-programming/browse_thread/thread/185e0a0deb4233f0/7a1d59884409bd3e?lnk=gst&q=oom+killer#7a1d59884409bd3e

Maybe someone has got any new ideas about how not to fail beause of
one faulty process?

Some time ago I've discussed it with author of Nginx: Igor Sysoev and
hi told about two features as of most important nginx ideas: survive
failed malloc and survive failed log appending.


More information about the erlang-questions mailing list