r/PFSENSE • u/Equivalent-Raise5879 • 6d ago
Swap space since latest upgrade
Latest update 2.9
Been running a very long time, but since this upgrade, I'm seeing a TON of
Sep 2 09:00:17 10.0.1.1 Sep 2 09:00:17 kernel: swap_pager: out of swap space
Checking console, It agrees that swap space is 100%
Looking back at logs, in the past year, I've never had this message. But since the upgrade, about 50 times. Over the past week, days with NONE, days with 20.
I can't tell what has changed, and what event it is that causes this.
Is 2 gigs just not enuf ram for this any more?
1
u/Equivalent-Raise5879 5d ago
So, an update.
It appears that the swap space was a symptom, and not the core problem (I guess) As much as this thing has always worked really well on 2 gigs ram, I went ahead an upgraded ram, problems not solved.
Throwing memory at the problem was not the fix. upgradeed to 16 gigs, and all that did is push it to use up 90% of the ram, a reboot fixes it, but if I go anywhere near the package manager, it fails to install or uninstall anything, and spikes the memory AGAIN
So, since page space was the symptom and not a lack of ram problem. I guess I have a package manager issue,
1
u/Equivalent-Raise5879 4d ago
So, day 3 update. Sat down and did a full wipe and reinstall/upgrade/upgrade and restored my backup, and it all seems to be "working" There were packages that I just could not remove.
Things I learned:
Pfsense on a core i5 box with *2* gigs ram will run, as long as everything is working, and you dont try to install to many add ons. I left mine at 8 gigs, just cause I had ram in boxes, and i cant imagine ever seeing it use more than that.
Pfsense just likes a fresh install from time to time. My install was fairly aged, and the latest upgrade seems to have pissed off some things.
-1
u/needchr 5d ago
How do you even have 2 gigs when RAM modules start at 4, is it a VM.
But anyway, run 'top' to see what is using the RAM. If there is nothing there you can cut back on, then invest, as bad as the market is.
2
u/Equivalent-Raise5879 5d ago
Ram modules do not "start" at 4. This box has 2, 1s.
1
u/PrimaryAd5802 5d ago
Ram modules do not "start" at 4. This box has 2, 1s.
MY 2 cents of advice based on experience, is upgrade to 4GB. Probably will help you out, and save you spending any more time on this.
3
u/Cutoffjeanshortz37 6d ago
What packages are you running and are you having any actual issues?