High CPU usage by agent

Started by almodovaris, September 22, 2023, 07:07:06 PM

Previous topic - Next topic
See pics.

OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

Looks like a low powered machine, RAM is also maxed out, as for the CPU depending on the traffic I'm not surprised about the CPU being maxed out

September 22, 2023, 09:12:19 PM #2 Last Edit: September 23, 2023, 08:41:18 AM by almodovaris
Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz (4 cores). On Proxmox.

I gave it 4 GB RAM, previously it had 8 GB or 10 GB. Still used a huge percentage of its RAM (sometimes).

As you see, it is sorted by memory usage percentage. Those 16 GB compressed RAM are in yellow (caches?). Also, to compress 16 GB within a total of 4 GB means it is very, very compressible data (ASCII plain text, HTML or something like that).

I think it only happens when accessing the firewall through dash.zenarmor.com, since usually the CPU is at very low usage (about 1% or so) and total RAM usage is between 480 MB and 550 MB.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

October 01, 2023, 06:27:19 AM #3 Last Edit: October 01, 2023, 08:11:44 AM by almodovaris
Now I have switched to Minisforum UN100C (less than 200 Euro/PC, only two Ethernet ports and one WiFi, has one Intel N100 processor with 4 cores, 16 GB RAM and 512 GB SSD). I am no longer using Proxmox for Opnsense. Works okay (Gigabit Zenarmor) despite having Realtek Ethernet, instead of Intel.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD