OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: BertM on August 21, 2017, 01:33:53 pm

Title: [SOLVED] SNMP Service eating processor.
Post by: BertM on August 21, 2017, 01:33:53 pm
We have a number of OPNsense instances running that, until recently, were running OPNsense 16.7.14_2.
They had not been updated to 17.1 because of some issues we had with Mobile IPSec connections.
After testing showed that these issues were solved in 17.7, I updated the first 5 of them to the latest version.

Obviously, SNMP has now changed to a plugin, so I installed the os-snmp plugin.
On all these OPNsense installations I noticed that the processor utilisation flat-lined to 100%, although performance did not seem to be influenced much.

This high processor utilisation went away in all cases when I unchecked the box for "Host Resources" on the Services:SNMP page.

Note that:
Anyone has any idea what's going on here?

Kind regards,
Bert


Title: Re: SNMP Service eating processor.
Post by: franco on August 21, 2017, 02:32:07 pm
Hi Bert,

There is a bug in the FreeBSD code of 11.0 at least, causing this, reported at least since December 2016:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215471

We migrated to 11.0 in January 2017 with 17.1. There are a couple of threads for this already.

Possible workarounds: load a disk in your VM's CD drive, or remove the CD drive from the VM.


Cheers,
Franco
Title: Re: SNMP Service eating processor.
Post by: BertM on August 21, 2017, 03:31:44 pm
Hi Franco,

You're a hero!
For now, I just mounted an ISO file in the CD drive, and it all works OK now.
Tonight, I will just remove the CD drive completely from the VM config, because I don't need it anyway after initial installation.

Thanks for your quick help.

Kind regards,
Bert

Title: Re: [SOLVED] SNMP Service eating processor.
Post by: franco on August 21, 2017, 06:09:33 pm
Hi Bert,

Sure, here to help. :)


Cheers,
Franco