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

High CPU USAGE IN 2.7.0-RELEASE

Scheduled Pinned Locked Moved General pfSense Questions
41 Posts 4 Posters 2.2k Views 4 Watching
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.
  • S Offline
    stephenw10 Netgate Administrator
    last edited by Aug 28, 2024, 11:43 AM

    Does it happen immediately or after the firewall has been running for a while? Does the interrupt load increase slowly?

    What NICs do you have in that box? I can see re0 there.

    S 1 Reply Last reply Aug 28, 2024, 5:16 PM Reply Quote 0
    • G Offline
      Gertjan @Gokulapandi
      last edited by Gertjan Aug 28, 2024, 12:12 PM Aug 28, 2024, 12:12 PM

      @Gokulapandi said in High CPU USAGE IN 2.7.0-RELEASE:

      We are running pf sense in physical machine

      Ok, good to know.

      I didn't understand why this installed :

      680b14c9-e37a-4803-964f-b8666eac5a06-image.png

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 1
      • S Offline
        stephenw10 Netgate Administrator @Gokulapandi
        last edited by Aug 28, 2024, 12:23 PM

        @Gokulapandi said in High CPU USAGE IN 2.7.0-RELEASE:

        When connecting more users in firewall,

        How many users? Are you using the Captive Portal?

        G 1 Reply Last reply Aug 28, 2024, 1:39 PM Reply Quote 0
        • S stephenw10 moved this topic from Problems Installing or Upgrading pfSense Software on Aug 28, 2024, 12:23 PM
        • G Offline
          Gokulapandi @stephenw10
          last edited by Aug 28, 2024, 1:39 PM

          @stephenw10

          e3ae36d4-9fff-4796-a907-06d43f6a3806-image.png

          We are not using captive portal. Around 50 devices are connecting in LAN.

          95fdf01b-17eb-4dbc-85cb-af793e43681a-image.png

          Interrupt load increases as number devices connection increase in LAN.

          "LAN in" Traffic has reaching till 300 M as cpu interrupt load increases.Then we need to reboot firewall.

          1 Reply Last reply Reply Quote 0
          • S Offline
            stephenw10 Netgate Administrator @stephenw10
            last edited by Aug 28, 2024, 5:16 PM

            @stephenw10 said in High CPU USAGE IN 2.7.0-RELEASE:

            What NICs do you have in that box? I can see re0 there.

            Is it all Realtek NICs?

            G 1 Reply Last reply Aug 28, 2024, 5:56 PM Reply Quote 0
            • G Offline
              Gokulapandi @stephenw10
              last edited by Gokulapandi Aug 28, 2024, 5:58 PM Aug 28, 2024, 5:56 PM

              @stephenw10

              We are using three NIC.

              We are using two WANs and one LAN.

              WAN1 is Intel adapters
              LAN is Intel adapters
              WAN 2 is Realtek adapter

              1 Reply Last reply Reply Quote 0
              • S Offline
                stephenw10 Netgate Administrator
                last edited by Aug 28, 2024, 6:23 PM

                Are you load-balancing traffic between those WANs?

                G 1 Reply Last reply Aug 28, 2024, 6:27 PM Reply Quote 0
                • G Offline
                  Gokulapandi @stephenw10
                  last edited by Gokulapandi Aug 28, 2024, 6:28 PM Aug 28, 2024, 6:27 PM

                  @stephenw10

                  No, We are not doing a load balancer as secondary WAN has less bandwidth.

                  FYI - We have updated now the version to 2.7.2

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stephenw10 Netgate Administrator
                    last edited by Aug 28, 2024, 7:29 PM

                    What does vmstat -i show is creating the interrupt load?

                    G 1 Reply Last reply Aug 29, 2024, 5:26 AM Reply Quote 0
                    • G Offline
                      Gokulapandi @stephenw10
                      last edited by Aug 29, 2024, 5:26 AM

                      @stephenw10

                      This is taken before issue.

                      7be22a64-b947-4b05-ab46-9bc25277c1b6-image.png

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        stephenw10 Netgate Administrator
                        last edited by Aug 29, 2024, 10:56 AM

                        Ok nothing too huge there. What does it show when the issue happens?

                        G 1 Reply Last reply Aug 29, 2024, 11:59 AM Reply Quote 0
                        • G Offline
                          Gokulapandi @stephenw10
                          last edited by Aug 29, 2024, 11:59 AM

                          @stephenw10

                          Our Network has IPsec VPN, and OpenVPN. I can access the firewall via web GUI and SSH, IPsec network, and Open VPN Client.

                          Once issue has arrived, I can't able to firewall via SSH, web GUI, IPsec Network, and OpenVPN client but all existing devices can connect to the internet continuously without any issue..

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            stephenw10 Netgate Administrator
                            last edited by Aug 29, 2024, 5:37 PM

                            Can you connect to the console to check that? You captured the top output above.

                            G 1 Reply Last reply Aug 29, 2024, 5:48 PM Reply Quote 0
                            • G Offline
                              Gokulapandi @stephenw10
                              last edited by Aug 29, 2024, 5:48 PM

                              @stephenw10

                              I couldn't access the console, it froze just like SSH. After rebooting, I was able to access the console.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                stephenw10 Netgate Administrator
                                last edited by Aug 29, 2024, 5:53 PM

                                How did you get the output from top then?

                                G 1 Reply Last reply Aug 29, 2024, 6:07 PM Reply Quote 0
                                • G Offline
                                  Gokulapandi @stephenw10
                                  last edited by Gokulapandi Aug 29, 2024, 6:07 PM Aug 29, 2024, 6:07 PM

                                  @stephenw10

                                  After a few seconds of the above output, I noticed that the console froze.

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    stephenw10 Netgate Administrator
                                    last edited by Aug 29, 2024, 6:29 PM

                                    Hmm, you might try entering 'ctl+t' at the console. That can respond when nothing else does. It should show what process is using the CPU cycles.

                                    G 1 Reply Last reply Aug 29, 2024, 7:10 PM Reply Quote 0
                                    • G Offline
                                      Gokulapandi @stephenw10
                                      last edited by Aug 29, 2024, 7:10 PM

                                      @stephenw10

                                      I attempted everything, but I was unable to receive any output from the console.

                                      I noticed bandwidth usage, Below Image is when there was no issue.

                                      7caf4aef-2574-4f81-8733-9895b040f01c-image.png

                                      "The images below (bandwidth and CPU load interruption screenshot) were taken before the issue occurred. When issue is arriving,"Lan in Bandwidth " will be reaching a maximum 300M consistently as the image has 170 MB.

                                      c5fe1281-0c1c-40ad-ae3c-fd6f33d2b360-image.png

                                      836babd2-5676-4383-b180-9bf06cb6128a-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        stephenw10 Netgate Administrator
                                        last edited by Aug 29, 2024, 7:22 PM

                                        Ah, maybe it really is just slamming the firewall with traffic from LAN then. If you disconnect the LAN when that's happening does the console become responsive again?

                                        Is LAN igb0?

                                        G 1 Reply Last reply Aug 29, 2024, 7:33 PM Reply Quote 1
                                        • G Offline
                                          Gokulapandi @stephenw10
                                          last edited by Aug 29, 2024, 7:33 PM

                                          @stephenw10

                                          Yes LAN is igb0.

                                          I didn't disconnect the LAN and check the console. I will check next time.

                                          How can I monitor LAN traffic for each host? Which log should be checked for this issue? Please let me know

                                          1 Reply Last reply Reply Quote 0
                                          38 out of 41
                                          • First post
                                            38/41
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received