Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
flowd_aggregator High CPU Usage on 21.1.4
« previous
next »
Print
Pages: [
1
]
Author
Topic: flowd_aggregator High CPU Usage on 21.1.4 (Read 3800 times)
ackatack
Newbie
Posts: 2
Karma: 1
flowd_aggregator High CPU Usage on 21.1.4
«
on:
April 04, 2021, 12:10:38 am »
Hello,
I upgraded from 21.1 to 21.1.4 last night. I have high CPU usage by the flowd_aggregator.py process since the upgrade. The process is frequently using 100% of one CPU core. I searched these forums and the web for possible solutions prior to posting.
Here is what I have tried to do to resolve this situation:
Reboot
Disabled IPv6 on WAN and LAN (not used on WAN so not needed on LAN)
Cleared, applied, reconfigured, and then applied Netflow settings in the Reporting section
Checked for additional updates
The CPU usage is under 1% with the flowd_aggregate service disabled. I am running OPNsense on a custom PC I built using an Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz (4 cores).
I appreciate your time and any assistance you can provide. Also, please let me know if I have posted this in the wrong section.
Thanks!
Logged
gpb
Full Member
Posts: 234
Karma: 13
Re: flowd_aggregator High CPU Usage on 21.1.4
«
Reply #1 on:
April 04, 2021, 01:26:13 am »
Probably normal…more here.
https://github.com/opnsense/core/issues/3587
Logged
HP T730/AMD RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT
ackatack
Newbie
Posts: 2
Karma: 1
Re: flowd_aggregator High CPU Usage on 21.1.4
«
Reply #2 on:
April 04, 2021, 01:46:57 am »
If this is the issue, why would it appear after the upgrade from 21.1 to 21.1.4? The reason I noticed it is that the fans have ramped to 100% so the system is much noisier than it has been in the past.
Logged
opnfwb
Sr. Member
Posts: 331
Karma: 47
Re: flowd_aggregator High CPU Usage on 21.1.4
«
Reply #3 on:
April 04, 2021, 07:35:27 pm »
Flowd has been a CPU hog for quite some time now. At least back to the 19.x series. It only takes one thread and it is not continuous usage, but every 2 minutes or so it runs to aggregate all the usage stats. As far as I can tell, this is normal behavior. I noticed the CPU spikes back when OPNsense had to shift away from Python 2.x to 3.x (python 2.x was being deprecated so they moved to a newer version). This was when I noticed the significant CPU usage from flowd aggregator.
I would suspect that your 21.1 install also had similar CPU usage issues but you weren't looking for them because the system fans were not increasing. Did anything else change when you upgraded to 21.1.4? Any different bios or system firmware settings changes? I suspect there's another component that is now causing your fans to increase in RPM that is not directly related to the occasional CPU spikes from flowd.
OPNsense also can log CPU temp under Reporting/Health/System/CPUtemp. If you look at your CPU temp for the last 44 days, do you see a significant spike in CPU temperature that would coincide with the 21.1.4 upgrade?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
flowd_aggregator High CPU Usage on 21.1.4