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

    Reboot or more memory?

    General pfSense Questions
    5
    15
    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.
    • L
      lewis
      last edited by lewis

      Is it possible I need to reboot this firewall or is the memory or hardware maxing out? It looks like it just needs more memory since the CPU load is low.

      2022-02-06_123025.jpg

      If the above just needs memory, that's a quick fix but if the hardware is maxing out. These are my other available server options before having to buy something else.

      Server 1: One E3-1230V2 CPU with 16GB memory
      Server 2: One E5-2660 CPU (up to 128GB)

      Based on starring at the Traffic Graph, I believe I'm seeing what seems to be on average up to 2M incoming and around 10M outgoing but it's not a stat, it's just constantly changing speeds.

      Guess I need to use the Monitoring function to find that.

      R 1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @lewis
        last edited by

        @lewis what is the output from "ps aux"? What's using up most of your RAM?

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        L 1 Reply Last reply Reply Quote 0
        • L
          lewis @rcoleman-netgate
          last edited by lewis

          @rcoleman-netgate

          Hi, What I see as the top mem process is;

          root 4848 0.0 84.0 8546056 6984296 v0- S 1Oct21 74:31.74 /usr/local/sbin/pcscd

          The second seems negligible;

          root 85696 0.3 2.1 315456 177040 - Ss 1Oct21 5773:12.23 /usr/local/bin/ntopng

          The rest, unless I'm not catching it in time are pretty much all 0.x.

          keyserK 2 Replies Last reply Reply Quote 0
          • keyserK
            keyser Rebel Alliance @lewis
            last edited by

            @lewis Yeah, thats a known bug that will be fixed in 2.6 which releases very very soon (days/weeks).

            If you reboot the problem it temporarily resolved. There is a patch for the problem, but as I said, the next version has it fixed.

            Love the no fuss of using the official appliances :-)

            L R 2 Replies Last reply Reply Quote 2
            • keyserK
              keyser Rebel Alliance @lewis
              last edited by

              @lewis if you search pcscd and memory on this forum you’ll find a lot of posts with the same problem

              Love the no fuss of using the official appliances :-)

              1 Reply Last reply Reply Quote 0
              • L
                lewis @keyser
                last edited by lewis

                @keyser

                Oh, that's nice to hear. I was nervous I might have a lot of work ahead of me.

                Thank you. I'll search and see if there is a way to temp fix this without a reboot.

                1 Reply Last reply Reply Quote 0
                • R
                  rcoleman-netgate Netgate @keyser
                  last edited by rcoleman-netgate

                  @keyser No need to reboot. there's a patch! Well, you have to reboot to apply the patch but ... it will resolve the issue.

                  https://redmine.pfsense.org/issues/12095

                  Ryan
                  Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                  Requesting firmware for your Netgate device? https://go.netgate.com
                  Switching: Mikrotik, Netgear, Extreme
                  Wireless: Aruba, Ubiquiti

                  L bingo600B 2 Replies Last reply Reply Quote 0
                  • L
                    lewis @rcoleman-netgate
                    last edited by

                    @rcoleman-netgate

                    From reading some posts, it looks like I don't even have to reboot.
                    If not using ipsec, one can disable the pcscd (PC/SC Smart Card Daemon) service. I did that and memory usage dropped to 9%.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rcoleman-netgate Netgate @lewis
                      last edited by

                      @lewis which will work until you have to reboot and then you're back at square one.
                      the patch will keep the service from even starting unneccessarily. I've used it on a number of field devices.

                      Ryan
                      Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                      Requesting firmware for your Netgate device? https://go.netgate.com
                      Switching: Mikrotik, Netgear, Extreme
                      Wireless: Aruba, Ubiquiti

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lewis @rcoleman-netgate
                        last edited by

                        @rcoleman-netgate

                        Yes, I understand that but this firewall rarely gets rebooted so I can live with that.

                        Does anyone know if the system upgrade will work from 2.52 to this new version that will come out?

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rcoleman-netgate Netgate @lewis
                          last edited by

                          @lewis We've been actively testing it and so far it has worked without issue.

                          Ryan
                          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                          Requesting firmware for your Netgate device? https://go.netgate.com
                          Switching: Mikrotik, Netgear, Extreme
                          Wireless: Aruba, Ubiquiti

                          1 Reply Last reply Reply Quote 0
                          • bingo600B
                            bingo600 @rcoleman-netgate
                            last edited by bingo600

                            @rcoleman-netgate said in Reboot or more memory?:

                            @keyser No need to reboot. there's a patch! Well, you have to reboot to apply the patch but ... it will resolve the issue.

                            https://redmine.pfsense.org/issues/12095

                            How do i find the patch info/number in the linked "redmine" ?
                            Will the patch work for 2.5.2-CE ?

                            This is my first patch attempt ....

                            pscd is "only" using 3.6G of 8GB , and i'm not even using ipsec.

                            3137aed4-e731-44a3-899f-61e8761a3cba-image.png

                            Found it ....

                            570bf8b7-d8fb-4171-9c15-09cbfb3c3066-image.png

                            The "strikethrough" confused me ??
                            I suppose it means that that "Bug is resolved or closed" or ??

                            I also applied , and ran a "reroot"

                            TIA
                            /Bingo

                            If you find my answer useful - Please give the post a 👍 - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                              @bingo600 said in Reboot or more memory?:

                              How do i find the patch info/number in the linked "redmine" ?

                              It's here: https://redmine.pfsense.org/issues/11933#note-7

                              R 1 Reply Last reply Reply Quote 2
                              • R
                                rcoleman-netgate Netgate @stephenw10
                                last edited by

                                @bingo600 Whoops.
                                I grabbed the 2nd redmine for it but @stephenw10 gave you the correct one

                                Ryan
                                Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                                Requesting firmware for your Netgate device? https://go.netgate.com
                                Switching: Mikrotik, Netgear, Extreme
                                Wireless: Aruba, Ubiquiti

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  lewis @rcoleman-netgate
                                  last edited by lewis

                                  Works fine just turning off the service if you don't reboot on a regular basis. I went from really high to 8/9% memory use since yesterday.

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