[erlang-bugs] SNMP erlNodeReductions defined too narrow

Tobias Schlager <>
Mon Jul 8 11:53:07 CEST 2013

Hi all,

I just came across this line in the logs of a testing server running R16B01:
User error: Got 508191824798 from {otp_mib,erl_node_table,[]}. Using wrongValue

A SNMP walk with snmpwalk -v 2c -c public host:port .iso.org.dod.internet.private.enterprises fails with the following output:

SNMPv2-SMI::enterprises. = STRING: "BEAM"
SNMPv2-SMI::enterprises. = STRING: "5.10.2"
SNMPv2-SMI::enterprises. = Gauge32: 0
SNMPv2-SMI::enterprises. = Counter32: 99993630
SNMPv2-SMI::enterprises. = Counter32: 419219062
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.

Examining the exact value on the machine with erlang:statistics(wall_clock) confirms the wallclock value of 419219062 and I can't see a problem with that value.

However, when I look at the next value (erlNodeReductions) manually, erlang:statistics(reductions) gives me a total number of 508213447798 reductions. This looks exactly like the value in the error message. Furthermore, the value is clearly out of range for a 'Counter32' which is the defined type for erlNodeReductions. Googling the topic brought up the following 3 year old repository https://github.com/dreverri/erlang_snmp_reduction_issue that contains code the reproduce this behaviour.


More information about the erlang-bugs mailing list