Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2009 16:08:00 +0000 (UTC)
From:      Shteryana Shopova <syrinx@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/contrib/bsnmp/snmp_mibII BEGEMOT-MIB2-MIB.txt mibII.c mibII.h mibII_begemot.c mibII_tree.def
Message-ID:  <200912031608.nB3G8OIl049896@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
syrinx      2009-12-03 16:08:00 UTC

  FreeBSD src repository

  Modified files:
    contrib/bsnmp/snmp_mibII BEGEMOT-MIB2-MIB.txt mibII.c mibII.h 
                             mibII_begemot.c mibII_tree.def 
  Log:
  SVN rev 200063 on 2009-12-03 16:08:00Z by syrinx
  
  Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded system.
  Instead of constantly calling the mibII_idle function when the server is not busy
  call the function only once every 10 seconds to avoid bsnmpd constantly doing
  gettimeofday syscalls. Make the idle polling interval confugurable via
  begemotIfDataPoll.
  
  Reported and tested by: misho (at) aitbg (dot) com
  Oked by: harti
  MFC after:      1 week
  
  Revision  Changes    Path
  1.2       +17 -1     src/contrib/bsnmp/snmp_mibII/BEGEMOT-MIB2-MIB.txt
  1.4       +34 -2     src/contrib/bsnmp/snmp_mibII/mibII.c
  1.2       +66 -33    src/contrib/bsnmp/snmp_mibII/mibII.h
  1.2       +17 -0     src/contrib/bsnmp/snmp_mibII/mibII_begemot.c
  1.2       +37 -23    src/contrib/bsnmp/snmp_mibII/mibII_tree.def



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912031608.nB3G8OIl049896>