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

    Memory Leak

    Scheduled Pinned Locked Moved General pfSense Questions
    35 Posts 8 Posters 9.0k 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
      kejianshi
      last edited by

      Because with less than 4GB ram you don't NEED 64bit version and I've seen more issues with 64 than 32.  Some would say its my imagination, but I don't think so.  I think the 32bit version is just working better under VMs.  I've experienced that anyway.  Seems others have also, but thats more of something I've noticed than a scientific study of the issue.

      1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer
        last edited by

        I have a customer on a 64 bit version and it behaves stupendously. Not one issue!  :)

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • J
          Jason Crowley
          last edited by

          We also have at least six other 64-bit installs that are working flawlessly.  A couple of them have fairly complicated configurations with ~10 interfaces, ~20 IPsec tunnels, 100s of firewall & NAT rules, traffic shaping, etc.  With all of that, they're still able to sustain 100Mb/s throughput easily.  I'm curious if there would be performance degradation moving from 64-bit to 32-bit.

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

            The problems I personally experienced were on 64bit version on ESXi 5.

            Same install, nothing else modified and it worked fine.  Tried several times.

            I couldn't solve it, so I just stayed with 32bit version.

            Sounds like your hypervisor isn't same, so probably depends.

            Also, the problems I had were mainly either with NTP or with nothing working well with 5 or more interfaces.

            There are just too many variables in hardware  and network to say anthing for sure for everybody, but as a rule, if I don't need 64bit, I use 32bit where I can.  As for it being a point of contention for this or that person, I say do whatever floats your boat and works for you.

            There won't be any performance losses.  64bit is just able to address more RAM.  Thats all.

            1 Reply Last reply Reply Quote 0
            • chpalmerC
              chpalmer
              last edited by

              Jason: Did you ever solve this?

              I ended up just re-installing the firmware over the original install via the firmware page and that seems to have solved it for me here.

              My other watchguard "customer" had his unit do the same thing starting last Wednesday and build up to over 30% before we caught it.  Restarted Apinger and it has been normal since…

              Mikes.jpg
              Mikes.jpg_thumb

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

              1 Reply Last reply Reply Quote 0
              • J
                Jason Crowley
                last edited by

                Since we've been through at least four firmware updates on this firewall and the problem still persists, I'm doubting a firmware reinstall will fix the problem.  I'm also pretty sure apinger is not the problem as I believe that would cause memory usage to spike in user space.  I'm seeing wired kernel memory balloon.

                My plan at this point is to build another near-identical firewall through the web gui, download the XML config from the new and old ones, and compare.  Maybe that will reveal some anomaly.  This XML has been pulled up through the 1.2 versions to 2.1.  Maybe something bad slipped through.

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

                  My memory does exactly the same thing.  Looks like utilization climbs and climbs and then it hits about 90%, teeters there for a while and then will drop back down to about 30% all by its self, with no reset, reboot or anything and no ill effects and then the cycle starts again.  I don't worry about it.

                  1 Reply Last reply Reply Quote 0
                  • chpalmerC
                    chpalmer
                    last edited by

                    Im actually still seeing this intermittently on a couple of boxes.  Though last time it happened to me here it actually used up all memory before it reset itself.

                    But since Ive reset the webgui from a console it has not occurred.  Re-booting the box never solved it. In fact it would simply do the same right after the re-boot.

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      When the memory usage is high, have you checked the process list to see what is using the RAM?

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • F
                        firewalluser
                        last edited by

                        I'll chuck this in this mix as its running in a VM.
                        Brute force
                        http://www.run-virtual.com/?p=695

                        then how to reset the VM password which might be sat in a data centre and doesnt get checked often
                        http://blog.geekdiary.me/?p=21

                        because it might be running auto failover type of software like this:
                        http://www.veeam.com/virtual-machine-backup-solution-free.html

                        Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                        Asch Conformity, mainly the blind leading the blind.

                        1 Reply Last reply Reply Quote 0
                        • chpalmerC
                          chpalmer
                          last edited by

                          @jimp:

                          When the memory usage is high, have you checked the process list to see what is using the RAM?

                          Just this-    https://forum.pfsense.org/index.php/topic,67703.msg370496.html#msg370496

                          It hasn't happened since the webgui reset from the console so I cant look now. Im watching for it.

                          Triggering snowflakes one by one..
                          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                          1 Reply Last reply Reply Quote 0
                          • chpalmerC
                            chpalmer
                            last edited by

                            After some testing it seems the LCDProc package is causing this for me.

                            When I do a webgui reset the display goes to a screen that shows Cli: 0  Scr: 0 with no backlight. I didn't notice it till days after my initial webgui reset. Once I restarted the LCD package the memory leak started again. Reset tonight and Im going to leave the package in the inop state for a few weeks.

                            Running the dev package.

                            Triggering snowflakes one by one..
                            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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