2.4.5 Update doubled RAM usage
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!
top -aSH -o size
Fine here I don't use ZFS.
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.
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.
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.
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.
Gertjan last edited by Gertjan
fireodo last edited by fireodo
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.
PS. Running pfBlockerNG_devel and snort.
Gertjan last edited by
fireodo 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:
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
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:
This post is deleted!
provels last edited by provels
Link above flagged by Malwarebytes for malware.
STAY AWAY. REPORTED.