OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: RayM on October 18, 2024, 02:17:00 PM

Title: OPNSense 24.10 Business - Dashboard Performance
Post by: RayM on October 18, 2024, 02:17:00 PM
Hi,

Just wanted to point out that the dashboard after the upgrade, looks really good.

That said, one of the widget (Firewall) ends up crashing the browser tab after a few minutes.  I was able to see from the debugging console that a lot of calls to a function took 89% of the rendering performance.  Removing the widget fixes the issue.  My guess is  that it's polling real-time all firewall events, and when you have moderate traffic, it starts causing freezes and the tab eventually crash with a SIGTerm. The same behaviour on both, main and ha appliance.

Not a huge issue, but still a bit annoying.

Thanks for all the work on opnsense!
Title: Re: OPNSense 24.10 Business - Dashboard Performance
Post by: franco on October 18, 2024, 02:50:28 PM
Hi,

Sounds like https://github.com/opnsense/core/issues/7975

Can you try this patch?

# opnsense-patch https://github.com/opnsense/core/commit/2e50dc12


Cheers,
Franco
Title: Re: OPNSense 24.10 Business - Dashboard Performance
Post by: vicuvic on October 18, 2024, 04:21:04 PM
Hi Franco

I disabled the logging on all the FW policies, I will try to reproduce the issue to see if the NIC will crash again.
I understood that Realtek is not having full compatibility with OPNsense, and I am looking to replace it with an Intel card.
Title: Re: OPNSense 24.10 Business - Dashboard Performance
Post by: franco on October 18, 2024, 07:26:07 PM
This issue should not be influenced by Realtek driver. It's a network load issue which may clog down the firewall live dashboard widget.


Cheers,
Franco
Title: Re: OPNSense 24.10 Business - Dashboard Performance
Post by: RayM on October 22, 2024, 12:10:41 PM
Yep!  Much better.  I can still hear the cpu fan and see higher CPU usage when on the dashboard, but it doesn't freeze anymore and dashboard performance are good.  Thank you kindly!!
Title: Re: OPNSense 24.10 Business - Dashboard Performance
Post by: franco on October 22, 2024, 12:15:20 PM
Thanks for confirming. A better fix will hit 24.7.7 and possibly a 24.10 hotfix later this week.


Cheers,
Franco