Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-16 | erts: Change ERL_CRASH_DUMP_SECONDS behaviour | Björn-Egil Dahlberg | |
Not setting ERL_CRASH_DUMP_SECONDS will now terminate beam immediately on a crash without writing a crash dump file. Setting ERL_CRASH_DUMP_SECONDS to 0 will also terminate beam immediately on a crash without writing a crash dump file, i.e. same as not setting ERL_CRASH_DUMP_SECONDS environment variable. Setting ERL_CRASH_DUMP_SECONDS to a negative value will let the beam wait indefinitely on the crash dump file being written. Setting ERL_CRASH_DUMP_SECONDS to a positive value will let the beam wait that many seconds on the crash dump file being written. A positive value will set both an alarm in beam AND a heart timeout for restart if heart is running. This is due to the change of 'heart' behavior when 'heart' is listening for a crash. | |||
2012-10-15 | heart: Refactor heart debugging | Björn-Egil Dahlberg | |
2012-10-15 | erts, heart: Ensure erl_crash.dump is written | Björn-Egil Dahlberg | |
When a crash dump is about to be written and we have heartbeat enabled on a system. We need time to write it before heart explicitly kills the beam. | |||
2012-08-20 | Merge branch 'pan/heart_and_times/OTP-10111' into maint | Patrik Nyblom | |
* pan/heart_and_times/OTP-10111: Make heart use clock_gettime when available | |||
2012-06-13 | Make heart use clock_gettime when available | Patrik Nyblom | |
2012-03-30 | Update copyright years | Björn-Egil Dahlberg | |
2012-01-03 | heart: Suppress compiler warnings | Björn-Egil Dahlberg | |
2011-04-06 | heart: remove garbage appended to heart command | Michael Santos | |
heart:get_cmd/0 is documented to return an empty string if the command is cleared. get_cmd/0 returns 2 extra bytes: 1 byte for the trailing null, 1 byte from the op (the op is an unsigned char and 2 bytes are allocated for it in the returned buffer). 1> heart:get_cmd(). {ok,[0,0]} 2> heart:set_cmd("echo hello"). ok 3> heart:get_cmd(). {ok,[101,99,104,111,32,104,101,108,108,111,0,0]} 4> heart:clear_cmd(). ok 5> heart:get_cmd(). {ok,[0,99]} | |||
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2010-10-04 | heart: prevent buffer overflow | Michael Santos | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |