case clause in cpu_sup:get_uint32_measurement
Jonas Boberg
jonas.boberg@REDACTED
Mon Jan 17 14:46:01 CET 2011
Hi,
Spotted this SASL error report in the logs of a system running with cpu_sup on:
=ERROR REPORT==== 13-Jan-2011::15:05:53 ===
Error in process <0.601.0> on node 'XXXX@REDACTED' with exit value: {{case_clause,{data,4711}},[{cpu_
sup,get_uint32_measurement,2},{cpu_sup,measurement_server_loop,1}]}
Looking at the code, seems like 4711 is some magic number used to implement a ping function:
https://github.com/erlang/otp/blob/dev/lib/os_mon/src/cpu_sup.erl
The error report above was spotted on R13B04 (Linux), but looks like the cpu_sup source hasn't changed since then (only type-specs and comments at the beginning of file).
/Jonas
More information about the erlang-bugs
mailing list