High CPU waits

Started by TeeOrion, September 22, 2025, 12:11:13 PM

Previous topic - Next topic
September 22, 2025, 12:11:13 PM Last Edit: September 22, 2025, 12:21:20 PM by TeeOrion
Hi all,

Monit keeps flagging high resource and Portal GUI goes unresponsive and fails to loads widgets. I been tried to search on forum for more information and so far couldn't find anything. Happy to be corrected.



Here is what I noticed and actions so far:
  • Fresh install
  • /var/log RAM disk is enabled

Log errors:

[22-Sep-2025 10:54:33 Europe/London] TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /usr/local/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php:91
Stack trace:
#0 /usr/local/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php(91): array_column(NULL, 'name')
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Dispatcher.php(166): OPNsense\Routing\Api\SettingsController->searchGatewayAction()
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(156): OPNsense\Mvc\Dispatcher->dispatch(Object(OPNsense\Mvc\Request), Object(OPNsense\Mvc\Response), Object(OPNsense\Mvc\Session))
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(139): OPNsense\Mvc\Router->performRequest(Object(OPNsense\Mvc\Dispatcher))
#4 /usr/local/opnsense/www/api.php(36): OPNsense\Mvc\Router->routeRequest('/api/routing/se...', Array)
#5 {main}

Monit Status:
  status                      Resource limit matched
  monitoring status            Monitored
  monitoring mode              active
  on reboot                    start
  load average                [18.19] [14.92] [17.99]
  cpu                          1.7%usr 4.1%sys 0.0%nice 0.0%hardirq
  memory usage                5.4 GB [34.5%]
  swap usage                  3.1 GB [31.1%]
  uptime                      15h 51m
  boot time                    Sun, 21 Sep 2025 19:16:08
  filedescriptors              4742 [0.9% of 514702 limit]
  data collected              Mon, 22 Sep 2025 11:07:47

CPU Intel N110 , 16GB ram, 120GB

September 22, 2025, 01:17:46 PM #1 Last Edit: September 23, 2025, 09:44:11 AM by meyergru
See this, #23. Also: Did you install on ZFS instead of UFS? If not, your installation may be botched already. Save the configuration, reinstall and restore it.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Thank you for that,

It seems taking Step 23 has resolved the issue