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

    SG-5100 CPU usage consistently at 70 to 80%

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    6 Posts 3 Posters 653 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.
    • K
      klubar
      last edited by

      Should I be concerned that my SG-5100 CPU usage is running consistently at between 70 and 80%? Nothing else looks too odd:

      State table: 8%
      MBUF: 4%
      Temp: 38 degrees
      Mem: 9%
      Netgate SG-5100

      There are about 5 openVPN users and the network load maxes out at 80 Mbs (in)/60 Mp/s (out). Average is much less.

      Any way to find what is using the CPU? I'm a little concerned because I'd like to add a few more OpenVPN users and maybe kick up the internet connection from 500 mb/b to 1gb/s (which wouldn't increase the actual bandwidth used)

      1 Reply Last reply Reply Quote 0
      • S
        SteveITS Rebel Alliance
        last edited by

        @klubar said in SG-5100 CPU usage consistently at 70 to 80%:

        Any way to find what is using the CPU

        Diagnostics/System Activity will show processes.

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

        1 Reply Last reply Reply Quote 0
        • K
          klubar
          last edited by

          Here is what I'm seeing:

           PID USERNAME    PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
          64605 root        103    0  7004K  2364K CPU1    1 4923.7 100.00% /usr/local/bin/rate -i ix0 -nlq 1 -Aba 
          79469 root        103    0  7004K  2368K CPU0    0 391.8H 100.00% /usr/local/bin/rate -i ovpns2 -nlq 1 -A
          81856 root        103    0  7004K  2364K CPU3    3 5450.8  99.46% /usr/local/bin/rate -i ix2 -nlq 1 -Aba 
             11 root        155 ki31     0K    64K RUN     1 3281.5  43.36% [idle{idle: cpu1}]
             11 root        155 ki31     0K    64K RUN     3 2535.3  37.79% [idle{idle: cpu3}]
          
          1 Reply Last reply Reply Quote 0
          • S
            SteveITS Rebel Alliance
            last edited by

            What are the crypto settings set to?
            https://forum.netgate.com/topic/150859/sg-5100-encryption-acceleration-settings

            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 reboot, or more depending on packages, and device or disk speed.
            Upvote 👍 helpful posts!

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

              Haven't seen that in a long while. Those rate processes should not be there.

              Looks like they are running on different interfaces there. Do you have something monitoring bandwidth on each of those?

              Steve

              1 Reply Last reply Reply Quote 0
              • K
                klubar
                last edited by

                On Netgate's advice I rebooted the device and the CPU usage dropped back to less than 10% The only thing I can think of is that I leave the bandwidth monitor up all the time and that somehow created rogue processes. I guess I will not do that now.

                I also updated the software to the latest version (2.4.5-RELEASE-p1) from 2.4.4p3 but I don't think that was the issue.

                Thanks for everyone's help.

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