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

High cpu on 2100 after upgrade to RC from Beta

Plus 24.11 Development Snapshots (Retired)
4
21
1.1k
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
    last edited by Nov 18, 2024, 9:03 PM

    Hi,
    Using Netgate 2100 (8gig emmc), installed RC from Beta.
    Found ongoing high cpu usage (4.23, 2.84, 2.37).
    Under system activity looks to be switching between high usage of unbound & sed journaling. Unbound/Sed journal can go over 80%.
    Only notable package installed pfblockerNG, no tailscale.
    login-to-view login-to-view

    1 Reply Last reply Reply Quote 0
    • M
      marcosm Netgate
      last edited by Nov 18, 2024, 11:43 PM

      Does this eventually stop, or does it get stuck?

      Would you generate diagnostic data while it's happening, and upload it here?

      A C 2 Replies Last reply Nov 19, 2024, 2:14 PM Reply Quote 0
      • A
        applesalwaysred @marcosm
        last edited by Nov 19, 2024, 2:14 PM

        @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 Nov 19, 2024, 2:53 PM

          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
          • C
            cmcdonald Netgate Developer @marcosm
            last edited by Nov 19, 2024, 3:29 PM

            @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 Nov 19, 2024, 3:50 PM Reply Quote 0
            • A
              applesalwaysred @cmcdonald
              last edited by Nov 19, 2024, 3:50 PM

              @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
              • S
                stephenw10 Netgate Administrator
                last edited by Nov 21, 2024, 7:04 PM

                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 Nov 21, 2024, 8:14 PM Reply Quote 0
                • A
                  applesalwaysred @stephenw10
                  last edited by Nov 21, 2024, 8:14 PM

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

                  C S 2 Replies Last reply Nov 21, 2024, 8:37 PM Reply Quote 0
                  • C
                    cmcdonald Netgate Developer @applesalwaysred
                    last edited by Nov 21, 2024, 8:37 PM

                    @applesalwaysred how long is your lease duration?

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

                    A 1 Reply Last reply Nov 21, 2024, 8:41 PM Reply Quote 0
                    • A
                      applesalwaysred @cmcdonald
                      last edited by Nov 21, 2024, 8:41 PM

                      @cmcdonald 86400s.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator @applesalwaysred
                        last edited by Nov 21, 2024, 9:12 PM

                        @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 Nov 21, 2024, 9:21 PM Reply Quote 0
                        • A
                          applesalwaysred @stephenw10
                          last edited by Nov 21, 2024, 9:21 PM

                          @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
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Nov 21, 2024, 9:29 PM

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

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

                            login-to-view

                            A 1 Reply Last reply Nov 21, 2024, 9:48 PM Reply Quote 0
                            • A
                              applesalwaysred @stephenw10
                              last edited by applesalwaysred Nov 21, 2024, 9:56 PM Nov 21, 2024, 9:48 PM

                              @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
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Nov 21, 2024, 11:29 PM

                                So loads above 0.4 on the longest average?

                                A 1 Reply Last reply Nov 22, 2024, 1:14 PM Reply Quote 0
                                • A
                                  applesalwaysred @stephenw10
                                  last edited by applesalwaysred Nov 22, 2024, 1:15 PM Nov 22, 2024, 1:14 PM

                                  @stephenw10 ~.36

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Nov 22, 2024, 1:23 PM

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

                                    A 1 Reply Last reply Nov 22, 2024, 7:49 PM Reply Quote 0
                                    • A
                                      applesalwaysred @stephenw10
                                      last edited by applesalwaysred Nov 22, 2024, 7:55 PM Nov 22, 2024, 7:49 PM

                                      @stephenw10 login-to-view

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Nov 22, 2024, 8:56 PM

                                        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 Nov 22, 2024, 11:51 PM Reply Quote 1
                                        • A
                                          applesalwaysred @stephenw10
                                          last edited by applesalwaysred Nov 23, 2024, 12:11 AM Nov 22, 2024, 11:51 PM

                                          @stephenw10 cli with kea no options (nice).
                                          login-to-view

                                          Here is cli with those kea options enabled:

                                          login-to-view

                                          1 Reply Last reply Reply Quote 1
                                          2 out of 21
                                          • First post
                                            2/21
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.