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

    2.4.5 Update doubled RAM usage

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 10 Posters 1.5k Views 8 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.
    • T Offline
      tfa
      last edited by

      Hello everyone!

      I am running pfSense on a PCEngines APU2 with 4GB RAM

      Since upgrading to 2.4.5 memory usage has increased from about 22% to 44%

      The monitoring graph shows my wired memory usage increased from 15% to 38% right after the upgrade

      A reboot and/or shutdown showed no improvement

      I use ZFS on / and RAMdisk for /var and /tmp

      The only package i am currently using is pfBlockerNG-devel
      disabling pfblocker and rebooting shows no real difference
      Any Ideas what might be causing this ?

      I am thankful for any ideas!

      graph.jpg
      top -aSH -o size
      top.jpg

      1 Reply Last reply Reply Quote 1
      • NogBadTheBadN Offline
        NogBadTheBad
        last edited by

        Fine here I don't use ZFS.

        Screenshot 2020-04-09 at 16.21.21.png

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 0
        • M Offline
          moelassus
          last edited by

          After seeing your post, I went and checked my historical RAM usage. I see the same thing. RAM usage roughly doubled, specifically the "wire" usage which I understand to be kernel memory.

          I too am curious why.

          1 Reply Last reply Reply Quote 0
          • provelsP Offline
            provels
            last edited by

            I don't use ZFS, but I built 2.4.4_3 and 2.4.5 VM's side by side, restored my config and let them go. 2.4.4_3 to the left and 2.4.5 to the right. The break in the second graph is where I was doing the initial config of the 2.4.5. On the 2.4.5 machine, I initially configured with a single core. All the chatter in the middle is where the packages were being reinstalled. I let it run until (I think) all the packages were reinstalled (I never got the final message) and then shut it down and added another core. I knew from my previous 2.4.4>2.4.5 upgrade that more memory would be required, so the memory had been increased from 1.5 to 2.0GB (home install, no big deal). Very stable on 2.4.5 since, packages in my sig. Charts from Zabbix.

            38413045-8997-4281-9370-81766bf81532-image.png 5e962817-8b3d-4797-b238-f0aba9af1b64-image.png

            Peder

            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

            1 Reply Last reply Reply Quote 1
            • C Offline
              chris1982
              last edited by chris1982

              I have the same memory problem after updating from 2.4.4_p3 to 2.4.5 (installed on ESXi, pfsense with zfs, installed addons: Cron, Open-VM-Tools, openvpn-client-export).
              Memory consumption since last November around 512 MB, before the update it was exactly 585MB, after the update it is now 1.28GB.

              1 Reply Last reply Reply Quote 0
              • emammadovE Offline
                emammadov
                last edited by emammadov

                I see, many people are complaining about issues like high memory usage, high ping time and etc. after upgrading to 2.4.5. That is why, I still don't upgrade my pfsense to 2.4.5.
                Hope pfsense team to see the all issues on 2.4.5 release mentioned on this forum and fix them in the next release, maybe 2.4.5-p1.

                Elvin

                1 Reply Last reply Reply Quote 0
                • GertjanG Offline
                  Gertjan
                  last edited by Gertjan

                  b5adda40-b058-4152-9d25-df513767da3f-image.png

                  Memory only fluctuates when I'm changing my setup : add or remove packages.
                  Notably : add or remove feeds used by pfBlockerNG-devel.

                  The difference between pre 2.4.5 (2.4.4-RC's) and 2.4.5 : close to none.

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

                  fireodoF 1 Reply Last reply Reply Quote 0
                  • fireodoF Offline
                    fireodo @Gertjan
                    last edited by fireodo

                    @Gertjan said in 2.4.5 Update doubled RAM usage:

                    Memory only fluctuates when I'm changing my setup : add or remove packages.
                    Notably : add or remove feeds used by pfBlockerNG-devel.

                    The difference between pre 2.4.5 (2.4.4-RC's) and 2.4.5 : close to none.

                    The Post Starter means comparison 2.4.4_p3 versus 2.4.5!

                    In my case here the difference is not so significant: 2.4.4_p3 mem ~ 40% 2.4.5 mem ~ 50%.
                    Installation environment - see my signature.

                    Regards,
                    fireodo

                    PS. Running pfBlockerNG_devel and snort.

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.8.0 CE
                    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG Offline
                      Gertjan @fireodo
                      last edited by

                      @fireodo said in 2.4.5 Update doubled RAM usage:

                      comparison 2.4.4_p3 versus 2.4.5!

                      Included in my graphs ^^
                      2.4.4-p3 started somewhere end may 2019.
                      2.4.4-p2 before that.

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

                      fireodoF 1 Reply Last reply Reply Quote 0
                      • fireodoF Offline
                        fireodo @Gertjan
                        last edited by

                        @Gertjan said in 2.4.5 Update doubled RAM usage:

                        @fireodo said in 2.4.5 Update doubled RAM usage:

                        comparison 2.4.4_p3 versus 2.4.5!

                        Included in my graphs ^^
                        2.4.4-p3 started somewhere end may 2019.
                        2.4.4-p2 before that.

                        Thanks for clarification!

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.8.0 CE
                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          ngsk
                          last edited by

                          I only see the increased RAM usage after updating from 2.4.5 to 2.4.5-RELEASE-p1.
                          As far as I can tell it's ZFS that is using way more memory. I compared similar firewalls (exact same configuration) still running the older version, and they have half the RAM usage. It looks like the big difference is in in ZFS memory usage:

                          2.4.5-RELEASE-p1:

                          Mem: 132M Active, 97M Inact, 587M Wired, 232K Buf, 122M Free
                          ARC: 316M Total, 86M MFU, 218M MRU, 33K Anon, 2006K Header, 10M Other
                               271M Compressed, 533M Uncompressed, 1.97:1 Ratio
                          

                          2.4.5-RELEASE

                          Mem: 67M Active, 188M Inact, 343M Wired, 180K Buf, 348M Free
                          ARC: 105M Total, 23M MFU, 78M MRU, 473K Anon, 591K Header, 2234K Other
                               73M Compressed, 175M Uncompressed, 2.41:1 Ratio
                          

                          Memory usage after the upgrade (and reboot) to 2.4.5-RELEASE-p1:

                          Screenshot_2020-09-03 System Overview (Telegraf) - Grafana.png

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            JohnnieHauser Banned
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • provelsP Offline
                              provels
                              last edited by provels

                              Link above flagged by Malwarebytes for malware.
                              STAY AWAY. REPORTED.

                              Peder

                              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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