Netgate SG-1000 microFirewall

Author Topic: High CPU Utilization After Upgrade 2.4-RC to 2.4.2-p1  (Read 355 times)

0 Members and 1 Guest are viewing this topic.

Offline dbosiljevac

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
High CPU Utilization After Upgrade 2.4-RC to 2.4.2-p1
« on: December 20, 2017, 09:19:08 am »
Wondering if anyone else has seen this behaviour...

Yesterday, I upgraded an SG-1000 from 2.4-RC to 2.4.2-p1.  Ever since then I've been noticing high CPU utilization.  I have posted a graph (last 48 hours) from one of my monitoring systems that shows the increase in CPU activity.

Not 100% sure, but System Activity seems to show php-fpm at the top of the list.

Anyone else seeing this?  Any thoughts?  I have restarted PHP-FPM as well as restarted the actual firewall itself, but it always comes back with this high CPU.

Thanks,

Dave

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21488
  • Karma: +1456/-26
    • View Profile
Re: High CPU Utilization After Upgrade 2.4-RC to 2.4.2-p1
« Reply #1 on: December 21, 2017, 07:56:34 am »
That particular output doesn't show much. A few percent used by PHP, most likely because you're viewing that from the GUI.

Connect to the console or ssh, start a shell and run "top -aSH" and wait a bit and see what shows up there.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline dbosiljevac

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: High CPU Utilization After Upgrade 2.4-RC to 2.4.2-p1
« Reply #2 on: December 30, 2017, 10:53:15 am »
Looks like my issue was being logged into the web portal.  When I logged out of the web portal, my CPU utilization went down to average around 10%.


Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21488
  • Karma: +1456/-26
    • View Profile
Re: High CPU Utilization After Upgrade 2.4-RC to 2.4.2-p1
« Reply #3 on: January 03, 2018, 02:26:25 pm »
That is probably due to a netstat bug that was addressed a week or so ago. It will be better in 2.4.3, you can try a snapshot now if you like.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!