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.
    • 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.