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

    CPU load on 1100

    Plus 24.11 Development Snapshots (Retired)
    8
    24
    2.6k
    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

      We are looking at this....

      1 Reply Last reply Reply Quote 0
      • M
        marcosm Netgate
        last edited by

        This increase in CPU is the result of a bugfix for a related issue:
        https://redmine.pfsense.org/issues/15725

        I bumped the default refresh interval for all widgets after that went in, but I missed WireGuard. I've pushed a change that increases the interval for WireGuard as well to more closely match the previous behavior.

        S 1 Reply Last reply Reply Quote 1
        • M marcosm referenced this topic on
        • S
          sgw @marcosm
          last edited by

          @marcosm thank you. looking forward to test that.
          Is it coming via System-Patches or do I have to take it somewhere from bugzilla or so?

          1 Reply Last reply Reply Quote 0
          • patient0P patient0 referenced this topic on
          • P
            pfsjap
            last edited by

            There's no Wireguard widget on my 1100's dashboard, yet:

            2db6defa-85b4-4aba-8a96-5ae6036407a9-image.png

            Dashboard has these widgets:

            • Netgate Services And Support
            • Service Status
            • Disks
            • ZDS
            • System Information
            • Gateways
            • Interfaces
            • UPS Summary
            • pfBlockerNG
            • Firewal Logs
            M 1 Reply Last reply Reply Quote 0
            • M
              marcosm Netgate @pfsjap
              last edited by

              @pfsjap It's possible other widgets are affecting it too. Remove all of them and re-add them one at a time to narrow down which one is doing it (if any).

              1 Reply Last reply Reply Quote 0
              • R rpotter28 referenced this topic on
              • Bob.DigB
                Bob.Dig LAYER 8
                last edited by Bob.Dig

                I also see a higher CPU-Load (25% all the time) on my Hyper-V-VM. Doesn't seem to be related to the widgets much.

                Screenshot 2024-11-11 140747.png

                I run WireGuard a lot.

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

                  Hmm, odd. That shows only ~5% use. But also a 1.04 load average....

                  Are you able to catch anything else running and using CPU cycles?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sgw @stephenw10
                    last edited by sgw

                    24.11-RC now: still high load in dashboard. Looks the same to me in terms of this issue.
                    I will see if things change, the upgrade was only 15 minutes ago.

                    EDIT: CPU load goes down now (in dashboard). I "minimized" all widgets, didn't have another idea ... load around 2.3 right now

                    1 Reply Last reply Reply Quote 0
                    • M
                      marcosm Netgate
                      last edited by

                      The interval can be increased in the widget config. If you don't want the increased usage while on the dashboard, set them to refresh each e.g. 10s or remove them.

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

                        If you just run top -HaSP at the CLI without the webgui open are you still seeing increased CPU usage?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sgw @stephenw10
                          last edited by sgw

                          @stephenw10

                          No, the load is at 0.2 - 0.4 when I do that. The top-command shows no high php-fpm activity now, sure, when no webgui is used.
                          Didn't play with the widget intervals yet ... I'd prefer that these values come with a working default ;-) / sure, can test that later

                          EDIT: load went down while I typed this. now 0.04 for example: nice

                          EDIT 2: disabled all widgets except "System Information". CPU load now showing ~22%. load in top around 1.0

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            marcosm Netgate @sgw
                            last edited by

                            @sgw What would you consider to be a working default and for which widgets? Would the defaults be different when additional widgets are added (i.e. when there's increased processing requirements)? Would that be considered the same for all hardware?

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sgw @marcosm
                              last edited by sgw

                              @marcosm I didn't want to offend anybody. Thanks for your work ...

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                marcosm Netgate @sgw
                                last edited by

                                @sgw No worries. They are valid concerns and questions :)

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  sgw @marcosm
                                  last edited by

                                  @marcosm ok, great.

                                  I don't know if I can tell which defaults to use etc / I can try to enable some of the widgets and see what happens, then try to adjust things.

                                  I assume I had too many widgets enabled für the netgate 1100 ... maybe the base load increased over time and with newer releases? Would it help to configure php-fpm somehow (more memory, more threads or something)?

                                  Do the widgets get refreshed also when they are minimized?

                                  M S 2 Replies Last reply Reply Quote 0
                                  • M
                                    marcosm Netgate @sgw
                                    last edited by

                                    @sgw Part of the issue before was that the refresh interval would increase along with the number of widgets. Hence the interval would essentially never be accurate - it'd be much higher which results in the decreased CPU load.

                                    Since the resource usage is very hardware-dependent, it seems best to leave it up to the user to determine what's best in their situation. I think the current default behavior is acceptable with the default number of widgets. The firewall isn't really meant to be something you'd stay logged into indefinitely anyway; there are likely plenty of other situations where some GUI action results in a noticeable increase in resource usage.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SteveITS Galactic Empire @sgw
                                      last edited by

                                      @sgw Note if one leaves the dashboard open, that will also generate a continuous stream of log entries/disk writes because pfSense logs web server requests and each widget update is one.

                                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                      Upvote 👍 helpful posts!

                                      S 1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        If you want to try the previous widget refresh behavior, which was also problematic but in different ways, you can install the System Patches package and then create an entry for ee615d9d982e94fdb9f5a88207f53990e6e86c1d and try reverting that change. Be sure to refresh the dashboard after (Ctrl+F5 or shift+reload ideally).

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          sgw @SteveITS
                                          last edited by sgw

                                          @SteveITS Good to know, I have to tell this to a specific admin at a customer. He has the dashboard open for longer periods of time sometimes ...

                                          1 Reply Last reply Reply Quote 0
                                          • M marcosm referenced this topic on
                                          • M marcosm referenced this topic on
                                          • T tman222 referenced this topic on
                                          • S SteveITS referenced this topic on
                                          • T tve referenced this topic on
                                          • T terryzb referenced this topic on
                                          • M MacUsers referenced this topic on
                                          • S SteveITS referenced this topic on
                                          • S SteveITS referenced this topic on
                                          • S SteveITS referenced this topic
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.