Out of swap space on Alix 2d13
-
I'm running 2.1-BETA1 4GB nanobsd from Dec. 23 on a Alix 2d13 box. It has been running for 10 days now and I noticed that ram utilization reported by the dashboard has been slowly increasing (86% currently) with usage. Now I started to see these messages in the logs:
kernel: pid 70695 (php), uid 0, was killed: out of swap space
I currently have no extra packages installed.
-
You could try a later snapshot. They seem to have been making changes to PHP memory usage on low memory systems.
-
In the past the usual culprit for runaway memory consumption was tcpdump, which was changed a few days ago in 2.1-BETA.
-
Thanks, I'll update to the latest snapshot and keep an eye on memory usage.
-
I've been noticing the same issues, mostly due to the unconstrained growth of the tcpdump process. I filed a bug report: https://redmine.pfsense.org/issues/2819
I'll note that firewalls which leave the Web GUI exposed to internet traffic will also see a lot of memory growth in the PHP process for obvious reasons. Don't do that.