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 1.7k 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.
    • stephenw10S
      stephenw10 Netgate Administrator @Gokulapandi
      last edited by

      @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 Reply Quote 0
      • stephenw10S stephenw10 moved this topic from Problems Installing or Upgrading pfSense Software on
      • G
        Gokulapandi @stephenw10
        last edited by

        @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
        • stephenw10S
          stephenw10 Netgate Administrator @stephenw10
          last edited by

          @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 Reply Quote 0
          • G
            Gokulapandi @stephenw10
            last edited by Gokulapandi

            @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
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Are you load-balancing traffic between those WANs?

              G 1 Reply Last reply Reply Quote 0
              • G
                Gokulapandi @stephenw10
                last edited by Gokulapandi

                @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
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

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

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Gokulapandi @stephenw10
                    last edited by

                    @stephenw10

                    This is taken before issue.

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

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

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

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        Gokulapandi @stephenw10
                        last edited by

                        @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
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

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

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            Gokulapandi @stephenw10
                            last edited by

                            @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
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              How did you get the output from top then?

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                Gokulapandi @stephenw10
                                last edited by Gokulapandi

                                @stephenw10

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

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

                                  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 Reply Quote 0
                                  • G
                                    Gokulapandi @stephenw10
                                    last edited by

                                    @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
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      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 Reply Quote 1
                                      • G
                                        Gokulapandi @stephenw10
                                        last edited by

                                        @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
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          I would expect the system log so show something after you reboot.

                                          The igb0 NIC is multithreaded so it can try to use all available CPU cycles on all cores. em0 is single so could not. You might switch those assignments so you can still connect and investigate when this hgappens.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            Gokulapandi @stephenw10
                                            last edited by

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

                                            em0

                                            can you explain little bit

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