Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    22.05-RC high CPU load

    Scheduled Pinned Locked Moved Plus 22.05 Development Snapshots (Retired)
    20 Posts 5 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      renegade @MoonKnight
      last edited by

      Thanks for the feedback.

      I have upgraded on Thursday.
      This is how it look like.

      95baca15-3350-4643-876d-dc4428c07a28-image.png

      There is a high increase on CPU.

      M 1 Reply Last reply Reply Quote 0
      • M
        MoonKnight @renegade
        last edited by

        @renegade
        hmm interesting, did you reboot your firewall after the updating to 22.05 RC?
        What packages have you installed?

        --- 24.11 ---
        Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
        Kingston DDR4 2666MHz 16GB ECC
        2 x HyperX Fury SSD 120GB (ZFS-mirror)
        2 x Intel i210 (ports)
        4 x Intel i350 (ports)

        R 1 Reply Last reply Reply Quote 0
        • R
          renegade @MoonKnight
          last edited by renegade

          @moonknight
          pfblocker. And it seems to be the same issue as described in 3-1-0-4-high-cpu-load
          I killed the php_pfb task and cpu load dropped down to 0.02 as before.

          I had no issues with pfblocker in 22.05

          M 1 Reply Last reply Reply Quote 0
          • M
            MoonKnight @renegade
            last edited by

            @renegade
            Did you try to reinstall pfBlockerNG-Dev?

            I'm running pfBlockerNG-Dev, never seen as high CPU usage as you have.
            And I'm running other packages also.

            --- 24.11 ---
            Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
            Kingston DDR4 2666MHz 16GB ECC
            2 x HyperX Fury SSD 120GB (ZFS-mirror)
            2 x Intel i210 (ports)
            4 x Intel i350 (ports)

            R 1 Reply Last reply Reply Quote 0
            • R
              renegade @MoonKnight
              last edited by

              @moonknight
              Yes, I did and no change unfortunately.
              I now deactivated the services.
              When the final arrives, I will make a clean install I guess.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                @renegade said in 22.05-RC high CPU load:

                got so hot that the CPU turnend off

                That should not be possible. You should be able to run the CPU 100% without running into thermal shutdown. If you can't then I suggest checking and/or improving your cooling solution.

                I have one system here running pfBlocker that behaves like that. After some minutes (not immediately) one CPU core get stuck at 100% until pfBlocker is disabled. Is that what you're seeing?

                Steve

                R 1 Reply Last reply Reply Quote 0
                • R
                  renegade @stephenw10
                  last edited by

                  @stephenw10
                  Yeah, you are right. I have to improve that. Unfortunately the device is in a quite warm environment.

                  And yes, that's what I can see on my installation. Same behaviour.
                  thanks for confirming, Steven.

                  1 Reply Last reply Reply Quote 0
                  • dennypageD
                    dennypage
                    last edited by

                    FWIW, I've seen similar.

                    Screen Shot 2022-06-12 at 10.16.33.png

                    Hasn't resulted in a problem though.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Also running pfBlocker? Does it start after some time, not immediately?

                      dennypageD 2 Replies Last reply Reply Quote 0
                      • dennypageD
                        dennypage @stephenw10
                        last edited by

                        @stephenw10 Yes, running pfBlockerNG-devel.

                        At first I thought I noticed that it didn't start right after boot, but I didn't investigate sufficiently.

                        I just rebooted and checked carefully, and you are right, CPU starts ramping up approximately 2 minutes after boot is complete.

                        1 Reply Last reply Reply Quote 0
                        • dennypageD
                          dennypage @stephenw10
                          last edited by

                          @stephenw10 Without rebooting, stopping the pfb_filter returns the cpu to normal levels.

                          Restarting pfb_filter cause cpu to return to higher levels after approximately 2 minutes and 30 seconds..

                          1 Reply Last reply Reply Quote 0
                          • R
                            renegade
                            last edited by

                            I noticed that there is a new Snapshot version of the 22.05 RC this morning.
                            Is it fixed already? Or has pfblocker maybe to fix it?

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              It is not fixed as far as I know. Tracking it here: https://redmine.pfsense.org/issues/13154

                              Add any additional details you may uncover there.

                              Steve

                              dennypageD 1 Reply Last reply Reply Quote 0
                              • dennypageD
                                dennypage @stephenw10
                                last edited by

                                @stephenw10, I've updated the redmine issue with a temporary fix. I make no representation that this fix is the best approach. 🤠

                                @BBcan177, please take a look. Thanks.

                                1 Reply Last reply Reply Quote 3
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Nice. Looks like work is already in progress here: https://redmine.pfsense.org/issues/13156

                                  dennypageD 1 Reply Last reply Reply Quote 0
                                  • dennypageD
                                    dennypage @stephenw10
                                    last edited by

                                    @stephenw10 Well shucks. Seeing that would have saved me a bunch of work. I guess I need to spend more time spelunking redmine.

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Yup I missed that too. Or at least I failed to realise the root cause was the same.

                                      Still when you independently come up with the same fix that's always a good sign. 😉

                                      Working for me here on 2.7.

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • dennypageD dennypage referenced this topic on
                                      • D
                                        drewsaur
                                        last edited by drewsaur

                                        Thank you all and @BBcan177 for the simple patch, because I was about to make a long post looking for help, and the little edit to line 4139 solved my CPU load issues with 22.05 completely.

                                        I think this fix should be made more prominent - I am not using a 22.05 development snapshot, but rather 22.05 final, and I found this thread via a search and not via a browse of the forums. I feel lucky to have found it.

                                        1 Reply Last reply Reply Quote 1
                                        • D drewsaur referenced this topic on
                                        • D drewsaur referenced this topic on
                                        • D drewsaur referenced this topic on
                                        • D drewsaur referenced this topic on
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.