[erlang-questions] Re: limited error_logger dump (vm crashes because of generating dump)

Max Lapshin max.lapshin@REDACTED
Mon Sep 20 15:00:35 CEST 2010


On Mon, Sep 20, 2010 at 4:55 PM, Steve Vinoski <vinoski@REDACTED> wrote:
>
> Perhaps you could provide your own format_status function for your gen_server:
>
> http://erlang.org/doc/man/gen_server.html#Module:format_status-2
>

Steve, it is now enough. gen_server is also printing last message
(that may be VERY large) and reason for stop. This reason may also
involve current status, bypassing format_status. And this is also not
the end: proc_lib sends error info to error_logger, including reason.
And it is another way of leaking gen_server status.


More information about the erlang-questions mailing list