[erlang-questions] Fail fast
Chandru
chandrashekhar.mullaparthi@REDACTED
Wed Dec 21 03:23:36 CET 2011
Hello everyone,
I've just had a failure in one of my live services because an erlang node
ran out of memory (caused by a traffic spike). Restart mechanisms exist to
restart the node, but the node took a long time to die because it was
writing a large erl_crash.dump file, and then there was a 7GB core dump.
Is there a quicker way to fail? I'm thinking of disabling core dumps
entirely on the box. What else can I do? A configuration option on the node
to only produce a summary erl_crash.dump would be nice. The most useful
things for me in a crash dump usually are the slogan at the top, and the
message queue lengths of each process. In this particular case, the slogan
would've told me all that I needed to know.
Chandru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111221/fa94c1f5/attachment.htm>
More information about the erlang-questions
mailing list