Dashboard overuse cpu
-
Hi everyone,
about a week ago I noticed an excessive use of the CPU when I accessed the dasboard.
By checking better I noticed some processes use the cpu periodically in a strange way, these processes I think are the widgets, but before this week it didn't happen and besides I didn't change anything.last pid: 15436; load averages: 3.51, 3.73, 2.41 up 0+00:13:31 19:15:51 292 processes: 11 running, 253 sleeping, 28 waiting Mem: 3405M Active, 789M Inact, 903M Laundry, 1057M Wired, 779M Buf, 1724M Free Swap: 3598M Total, 91M Used, 3507M Free, 2% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K 96K RUN 2 7:03 90.48% [idle{idle: cpu2}] 11 root 155 ki31 0K 96K RUN 1 7:34 86.57% [idle{idle: cpu1}] 11 root 155 ki31 0K 96K RUN 0 5:21 73.19% [idle{idle: cpu0}] 11 root 155 ki31 0K 96K CPU4 4 4:41 66.55% [idle{idle: cpu4}] 11 root 155 ki31 0K 96K CPU5 5 4:41 63.18% [idle{idle: cpu5}] 11 root 155 ki31 0K 96K RUN 3 4:53 61.08% [idle{idle: cpu3}] 13690 root 77 0 10296K 6712K CPU3 3 0:02 15.67% /usr/bin/tail -r -n 10000 13452 root 76 0 6564K 2408K CPU2 2 0:01 12.99% /usr/bin/grep -v \^[ 13233 root 75 0 6564K 2424K CPU0 0 0:01 11.57% /usr/bin/grep -v CLOG 13531 root 75 0 6564K 2424K CPU5 5 0:01 11.18% /usr/bin/grep -E filterlog: 12 root -56 - 0K 448K WAIT 1 0:09 0.88% [intr{swi5: fast taskq}] 13085 root 27 0 1911M 488M pipdwt 4 0:00 0.68% /usr/local/sbin/clog /var/log/filter. 64936 root 20 0 603M 544M uwait 3 0:03 0.29% /usr/local/bin/suricata -i gif0 -D -c 18533 root 20 0 617M 542M uwait 2 0:03 0.29% /usr/local/bin/suricata -i re1 -D -c 83432 root 20 0 603M 543M uwait 4 0:03 0.20% /usr/local/bin/suricata -i re0 -D -c 94823 root 20 0 96200K 22772K piperd 1 0:04 0.10% php-fpm: pool nginx (php-fpm)
Thanks for your help.
-
Hmm, that does seem excessive, unless each of those cores is running at 100MHz or something!
What widgets do you have on the dashboard?
That looks like it's from the firewall logs widget. Are you logs files set to a huge size?
Steve
-
@stephenw10 said in Dashboard overuse cpu:
Hmm, that does seem excessive, unless each of those cores is running at 100MHz or something!
What widgets do you have on the dashboard?
That looks like it's from the firewall logs widget. Are you logs files set to a huge size?
Steve
Thank you, finally after cleaning the system logs and those of pfblocker the use of the cpu is back to normal.