SG-3100 - CPU seems high?
-
I'm seeing it hover around 95% as well. This is a simple setup with a few VLANs and no packages installed.
I looked at System Activity and not sure if this is normal or not:
Anyone know what else I can check?
-
@jgq85 /usr/local/bin/rate obviously seems to be using a lot. What is the command doing?
Is it related to the package "iorate" or something that bench marks IO? -
rate
is used to populate the real-time table of hosts communicating that is displayed on Status > Traffic Graphs.Though it's unusual for it to consume so much CPU, it's not unheard of.
We're phasing out the use of
rate
in favor ofiftop
which is an option on that page now. -
@jimp said in SG-3100 - CPU seems high?:
rate
is used to populate the real-time table of hosts communicating that is displayed on Status > Traffic Graphs.Though it's unusual for it to consume so much CPU, it's not unheard of.
We're phasing out the use of
rate
in favor ofiftop
which is an option on that page now.Thanks yeah I'm definitely not at the Traffic Graphics page so I'm not sure why it's being invoked.
What could I do? Disable it, or reboot pfsense? -
It might be stuck from a previous visit to that page.
First I would go to Status > Traffic Graphs and change the Mode to "iftop" and click Save. That will make sure it doesn't try to use
rate
on subsequent visits to that page.Then connect to the console or ssh, start a shell and run
killall -9 rate
. Or run that from Diag > Command in the shell exec box.If that doesn't help, you can reboot.
-
@jimp said in SG-3100 - CPU seems high?:
It might be stuck from a previous visit to that page.
First I would go to Status > Traffic Graphs and change the Mode to "iftop" and click Save. That will make sure it doesn't try to use
rate
on subsequent visits to that page.Then connect to the console or ssh, start a shell and run
killall -9 rate
. Or run that from Diag > Command in the shell exec box.If that doesn't help, you can reboot.
Hmm all I see is this so I'm not sure if it's something I can change:
-
What version are you running?
The
iftop
change was a recent addition. -
@jimp said in SG-3100 - CPU seems high?:
What version are you running?
The
iftop
change was a recent addition.The pfsense version? On dashboard it says:
Version 2.4.4-RELEASE-p3 (arm)
built on Thu May 16 06:01:19 EDT 2019
FreeBSD 11.2-RELEASE-p10
The system is on the latest version. -
Ah, that could also explain it. That is quite out of date.
-
@jimp said in SG-3100 - CPU seems high?:
Ah, that could also explain it. That is quite out of date.
Would it require a manual update? It says "The system is on the latest version." so I'm not sure if that means for the current build which is out of date, or the latest that's compatible with this Netgate model.
-
It may be having trouble checking for updates, there are ways to fix that on the documentation.
You may also want to contact support to ensure you have installation media on hand in case a reinstall is better.