Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 18:37:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217983] Collaboration bsnmpd + devd + using an empty CD-ROM drive = 100% CPU load
Message-ID:  <bug-217983-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217983

            Bug ID: 217983
           Summary: Collaboration bsnmpd + devd + using an empty CD-ROM
                    drive =3D 100% CPU load
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: admin@support.od.ua

Collaboration bsnmpd + devd + using an empty CD-ROM drive =3D 100% CPU load

The service dedv restart command helps to solve the problem.

FreeBSD 11.0-STABLE #0 r314635: Sat Mar  4 02:12:23 EET 2017
The problem is relevant, from about May 2016 on to FreeBSD 10.3-STABLE.

# top -bPS -n 10
last pid:  2660;  load averages:  1.48,  0.93,  0.44  up 0+00:05:21    19:4=
1:16
70 processes:  5 running, 64 sleeping, 1 waiting

Mem: 622M Active, 13M Inact, 183M Wired, 1153M Free
ARC: 88M Total, 30M MFU, 55M MRU, 16K Anon, 491K Header, 2526K Other
Swap: 6144M Total, 6144M Free


  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME    WCPU COMMAND
 2623 root          1  52    0 94176K 43176K RUN      1:40  56.49% bsnmpd
   14 root          3  -8    -     0K    48K -        0:52  29.69% geom
   12 root         25 -64    -     0K   400K WAIT     0:26  11.38% intr
 1038 root          1  22    0  9532K  4800K select   0:08   3.76% devd
  891 root          1  21    0 10480K  1892K select   0:04   1.95% syslogd
   11 root          1 155 ki31     0K    16K RUN      1:46   0.00% idle
 1553 mysql        24  52    0   763M   525M select   0:02   0.00% mysqld
    0 root        274 -16    -     0K  4384K swapin   0:02   0.00% kernel
    4 root          2 -16    -     0K    32K -        0:01   0.00% cam
   31 root          1 -16    -     0K    16K -        0:00   0.00% racctd

# egrep -v '^#|^$' /etc/snmpd.config
location :=3D "Room 200"
contact :=3D "sysmeister@example.com"
system :=3D 1     # FreeBSD
read :=3D "lkagh;rhstghhjd"
NoAuthProtocol          :=3D 1.3.6.1.6.3.10.1.1.1
HMACMD5AuthProtocol     :=3D 1.3.6.1.6.3.10.1.1.2
HMACSHAAuthProtocol     :=3D 1.3.6.1.6.3.10.1.1.3
NoPrivProtocol          :=3D 1.3.6.1.6.3.10.1.2.1
DESPrivProtocol         :=3D 1.3.6.1.6.3.10.1.2.2
AesCfb128Protocol       :=3D 1.3.6.1.6.3.10.1.2.4
securityModelAny        :=3D 0
securityModelSNMPv1     :=3D 1
securityModelSNMPv2c    :=3D 2
securityModelUSM        :=3D 3
MPmodelSNMPv1           :=3D 0
MPmodelSNMPv2c          :=3D 1
MPmodelSNMPv3           :=3D 3
noAuthNoPriv :=3D 1
authNoPriv :=3D 2
authPriv :=3D 3
%snmpd
begemotSnmpdDebugDumpPdus       =3D 2
begemotSnmpdDebugSyslogPri      =3D 7
begemotSnmpdCommunityString.0.1 =3D $(read)
begemotSnmpdCommunityDisable    =3D 1
begemotSnmpdPortStatus.0.0.0.0.161 =3D 1
begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" =3D 1
begemotSnmpdLocalPortType."/var/run/snmpd.sock" =3D 4
sysContact      =3D $(contact)
sysLocation     =3D $(location)
sysObjectId     =3D 1.3.6.1.4.1.12325.1.1.2.1.$(system)
snmpEnableAuthenTraps =3D 2
begemotSnmpdModulePath."mibII"  =3D "/usr/lib/snmp_mibII.so"
begemotSnmpdModulePath."bridge" =3D "/usr/lib/snmp_bridge.so"
begemotSnmpdModulePath."hostres" =3D "/usr/lib/snmp_hostres.so"
begemotSnmpdModulePath."lm75" =3D "/usr/lib/snmp_lm75.so"
begemotSnmpdModulePath."netgraph" =3D "/usr/lib/snmp_netgraph.so"
begemotSnmpdModulePath."pf"     =3D "/usr/lib/snmp_pf.so"
%mibII
begemotIfForcePoll =3D 2000
%netgraph
begemotNgControlNodeName =3D "snmpd"
begemotSnmpdModulePath."ucd" =3D "/usr/local/lib/snmp_ucd.so"
%ucd
updateInterval =3D 500
extCheckInterval =3D 100
extUpdateInterval =3D 3000
extTimeout =3D 60
memMinimumSwap =3D 1600
memSwapErrorMsg =3D "No free swap!"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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