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

    High cpu on 2100 after upgrade to RC from Beta

    Scheduled Pinned Locked Moved Plus 24.11 Development Snapshots (Retired)
    21 Posts 4 Posters 1.1k 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.
    • A
      applesalwaysred @marcosm
      last edited by

      @marcosm I can add those but you can try to replicate this now. Found it is from options in KEA dhcp.

      1. I re-installed RC from 24.03 and issue continues.
      2. Found that I am using dns resolver & chose options 'Enable DNS registration' and 'Enable early DNS registration' from DHCP server.
      3. CPU usage greatly increases as described.
      4. Disable options from 2. & restart dhcp and cpu usage drops to ~30%. Note that my cpu usage before RC was ~10% nominally and I was using KEA dhcp in 24.03.
      1 Reply Last reply Reply Quote 0
      • M
        marcosm Netgate
        last edited by

        Yes, that's where it comes from and some CPU usage is normal. The screenshot shows it's been running for longer than expected however - hence the follow up questions.

        1 Reply Last reply Reply Quote 1
        • cmcdonaldC
          cmcdonald Netgate Developer @marcosm
          last edited by

          @marcosm said in High cpu on 2100 after upgrade to RC from Beta:

          Does this eventually stop, or does it get stuck?

          @applesalwaysred ^

          The answer here is important thanks

          Need help fast? https://www.netgate.com/support

          A 1 Reply Last reply Reply Quote 0
          • A
            applesalwaysred @cmcdonald
            last edited by

            @cmcdonald @marcosm It doesn't get stuck and it doesn't stop. It rotates between sed journal activity building up over 80% dropping off. Then Kea will push cpu to high level. It repeats this scenario as long as you let it. Not seeing failures anywhere. Can you replicate this?

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

              We saw it in earlier beta snapshots but not since.

              How many DHCP clients do you have?

              Are you seeing that 30% CPU usage with the webgui open or at the CLI?

              A 1 Reply Last reply Reply Quote 0
              • A
                applesalwaysred @stephenw10
                last edited by

                @stephenw10 I have under 30 dhcp clients all ipv4. Yes, on the UI screen it does jump so I looked at the long term average: I do not see long term load average of under 20% with the RC candidate. With 24.03 release, I do see under 20% long term load average fyi.

                cmcdonaldC stephenw10S 2 Replies Last reply Reply Quote 0
                • cmcdonaldC
                  cmcdonald Netgate Developer @applesalwaysred
                  last edited by

                  @applesalwaysred how long is your lease duration?

                  Need help fast? https://www.netgate.com/support

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    applesalwaysred @cmcdonald
                    last edited by

                    @cmcdonald 86400s.

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

                      @applesalwaysred said in High cpu on 2100 after upgrade to RC from Beta:

                      I do not see long term load average of under 20% with the RC candidate.

                      In the Status > Monitoring graphs?

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        applesalwaysred @stephenw10
                        last edited by

                        @stephenw10 sorry, I meant I have not seen under 20% cpu usage (long term) on the RC build compared to the 24.03 release where it is common.

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

                          Right I'm just wondering where you are checking that?

                          Since I don't see that on 2100s here:

                          Screenshot from 2024-11-21 21-28-53.png

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            applesalwaysred @stephenw10
                            last edited by applesalwaysred

                            @stephenw10 load averages on system diagnostics (at thread top) & dashboard with the 3 state state load averages. Not the current cpu usage. What happens when you add in kea with 'Enable DNS registration' and 'Enable early DNS registration' ?

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

                              So loads above 0.4 on the longest average?

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                applesalwaysred @stephenw10
                                last edited by applesalwaysred

                                @stephenw10 ~.36

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

                                  Do you have the top output from that after it's been stable for some time?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    applesalwaysred @stephenw10
                                    last edited by applesalwaysred

                                    @stephenw10 24.11 export 1.png

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

                                      Hmm, those php processes are the webgui displaying that. I see similar loads here.

                                      Try running top -aSH at the CLI without the webgui open at all.

                                      A 1 Reply Last reply Reply Quote 1
                                      • A
                                        applesalwaysred @stephenw10
                                        last edited by applesalwaysred

                                        @stephenw10 cli with kea no options (nice).
                                        pf-top export.png

                                        Here is cli with those kea options enabled:

                                        top with kea options export.png

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

                                          Hmm, OK. Significant.

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