OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: yodaphone on January 26, 2023, 02:53:25 am

Title: High CPU Usage - OPNsense 23.1.r_20
Post by: yodaphone on January 26, 2023, 02:53:25 am
Just updated to OPNsense 23.1.r_20 but now seeing some spikes in CPU usage mainly caused by python3.9 & it hits 100% usage sometimes

please see attached animated GIF of top output

any idea why this is happening, as i havent seen this before

My FW
Intel(R) Celeron(R) CPU 3865U @ 1.80GHz
4GB RAM
ZFS
Title: Re: High CPU Usage - OPNsense 23.1.r_20
Post by: yodaphone on January 26, 2023, 04:04:41 am
UPDATE:

I disabled "Unbound DNS reporting" & this seems to have somewhat addressed the issue, but the issue still persists
Title: Re: High CPU Usage - OPNsense 23.1.r_20
Post by: alexdelprete on January 26, 2023, 04:25:04 pm
Yes, the Unbound DNS Reporting is a nice feature, but it was using way too much CPU time for me. Maybe on enterprise grade hw it's not an issue, and even if I have a decent hw, I don't like devoting all that CPU to the reporting function. Too bad because I was thinking to uninstall AdGuardHome, that I used only for reporting and inspection, but I will keep using unbound as I did before, with no advanced reporting functionality. I hope this could be improved in some way in the future.

(https://i.imgur.com/9RLEFVl.png)
Title: Re: High CPU Usage - OPNsense 23.1.r_20
Post by: Animosity on January 26, 2023, 04:57:20 pm
I have extended stats turned on and I have the telegraf package and I ship the Unbound stats over to my InfluxDB running Grafana and I rarely use the actual OPNSense box for reporting as I rather have it in a single pane of glass in Grafana.

Title: Re: High CPU Usage - OPNsense 23.1.r_20
Post by: alexdelprete on January 26, 2023, 05:36:25 pm
Yes, that's a good idea. I'm already using Grafana/Influx for other services.

Is there a good dashboard for Unbound already shared or did you make one from scratch?

Thanks.