[Buildroot] Slow SNMP daemon startup

Grant Edwards grant.b.edwards at gmail.com
Tue Dec 15 15:52:34 UTC 2020


After upgrading from an older version of net-snmp (5.7.3 -> 5.8) it
now takes the snmp daemon anywhere from 5s to a minute to start up. It
used to start with no noticeable delay.

Has anybody else noticed this?

Does anybody have any guesses on where to start looking for the problem?

There's nothing in the syslog to indicate any problem:

 # grep snmp /var/log/messages
 Jan  1 00:00:08 (none) daemon.info snmpd[944]: Created directory: /var/lib/snmp
 Jan  1 00:00:08 (none) daemon.info snmpd[944]: Created directory: /var/lib/snmp/cert_indexes
 Dec 15 15:17:26 (none) daemon.info snmpd[944]: Created directory: /var/lib/snmp/mib_indexes
 Dec 15 15:17:26 (none) daemon.info snmpd[946]: NET-SNMP version 5.8

Though it looks like the ntp daemon has stepped the time while snmpd
is starting up, so perhaps that's causing a problem...

--
Grant




More information about the buildroot mailing list