bsnmpd hrProcessorLoad results incorrect on FreeBSD 7 or 8?
Harti Brandt
hartmut.brandt at dlr.de
Wed May 7 07:04:11 UTC 2008
On Tue, 6 May 2008, Michael Proto wrote:
MP>Mike Tancsa wrote:
MP>> At 08:55 PM 5/6/2008, Michael Proto wrote:
MP>> > Is anyone seeing problems with bsnmpd reporting an incorrect
MP>> > HOST-RESOURCES-MIB::hrProcessorLoad value under HEAD? I'm using the
MP>> > default /etc/snmpd.config settings and am loading the
MP>> > /usr/lib/snmp_hostres.so library just as I do in 6.3, but the value for
MP>> > this MIB always reports CPU utilization at 100% regardless of the actual
MP>> > load on the system. 6.3 and 6-STABLE both work correctly and report the
MP>> > actual CPU utilization when queried.
MP>>
MP>> IIRC, I noticed this when I changed to ULE from 4BSD_SCHED.
MP>>
MP>> ---Mike
MP>> _______________________________________________
MP>> freebsd-current at freebsd.org mailing list
MP>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
MP>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
MP>
MP>Would match my environment as well, as I'm using ULE on all of the
MP>affected systems. Just built a 4BSD kernel on my HEAD system and
MP>HOST-RESOURCES-MIB::hrProcessorLoad reports a correct value again.
MP>
MP>Anyone have an idea on a fix?
If anybody has a fix that works with both schedulers, I happily commit
this.
harti
More information about the freebsd-current
mailing list