[erlang-questions] centos 6.5 OOM kills heart process making restart impossible

Anton Lebedevich mabrek@REDACTED
Mon Oct 20 13:19:30 CEST 2014


Hello.

When erlang process (erlang-17.3-2.el6 from Erlang Solutions packages)
eats too much memory under CentOS 6.5 it is killed by OOM killer which
is expected.
But when I run it with -heart the heartbeat process gets killed first
because it's a child of beam.smp which has the largest OOM score. It
makes erlang application stop forever because both beam.smp and heart
are dead.
I don't remember similar problems under R14-16 and Debian.

Is there any way to make sure that beam.smp is killed first to allow
heat process to restart it?

Regards,
Anton Lebedevich.



More information about the erlang-questions mailing list