[WORKAROUND] 17.1.r1 and snmpd not installed

Started by phoenix, January 20, 2017, 02:09:47 PM

Previous topic - Next topic
January 20, 2017, 02:09:47 PM Last Edit: January 22, 2017, 05:01:34 PM by franco
I've just done a clean install and settings import for the rc1 release, all is working fine except that I couldn't find snmp in the services section. A quick check showed that it wasn't installed, is that intentional?

I did install snmp at this point and it's running fine but the problem I reported on the beta version still exists, if I enable the Host Resources module then the CPU use goes straight to 100%. All the other modules can be enabled without and CPU use problems but the Host Resources on it's own or with the other modules puts the CPU into overdrive. Anything that can be done to find out what's causing this problem or should a file a bug for it?

Other than that, well done to all the team for the great work on this release. :)
Regards


Bill

Well, if you'd read the announcement then you would have seen SNMP is now a plugin ;-)
https://forum.opnsense.org/index.php?topic=4295.msg15985#new
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

btw, I saw Will` on IRC mentioning the high CPU issue as well.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

Quote from: weust on January 20, 2017, 03:05:57 PM
Well, if you'd read the announcement then you would have seen SNMP is now a plugin ;-)
https://forum.opnsense.org/index.php?topic=4295.msg15985#new
I did read it but not in enough detail, I was too busy checking the other 'problems' had gone - at least that my excuse for today. ;D

Thanks for pointing me to that.
Regards


Bill

Hi guys,

We'll look into the high CPU issue after 17.1 is out. I know that FreeBSD recently added a lot of changes to their SNMP, there may be something there.


Cheers,
Franco

Just to add what I'm seeing for SNMP / Host resources:

With just SNMP enabled the process consumes 0.1-0.2% CPU.

With all modules except host resources enabled 0.2-0.3% CPU.

With just host resources module 20-30% CPU spiking up to 90% utilisation when the device is queried.


My test setup:
PC Engines APU
SNMP is listening only on one interface (LAN)
17.1.r1 though I noticed this behaviour was also present in 17.1.b

Those figures are pretty much what I see except that when Host Resources is enabled I'm seeing 100% cpu usage, that consists of 80-95% system and the remainder is user%. As I mentioned before, it makes no difference if Host Resources is enabled on it's own (with the required MibII) or all the services are enabled - if I disable just the Host Resources the cpu usage immediately drops to 1-5%.
Regards


Bill

I had this issue, and did some digging.   It looks like it's this in freebsd:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215471

And another reference:
https://redmine.pfsense.org/issues/6882

Quite nasty. Thanks for the pointers. I'll keep this in CC.


Quote from: eyedrops on January 21, 2017, 05:04:52 PM
I had this issue, and did some digging.   It looks like it's this in freebsd:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215471

And another reference:
https://redmine.pfsense.org/issues/6882
That's interesting and I can confirm the FreeBSD Bugzilla – Bug 215471 as the problem on my VM. I connceted the cd/dvd drive and enabled the Host Resources in SNMP and Bingo! cpu usage stays at 1-5% - I'll leave it in that state overnight just to see if anything else happens.
Regards


Bill

Problem is Will had issues on an APU hardware. Still need to investigate.