Memory Usage
-
Hello Everyone,
Memory usage: 85% of 993 MB
When i go check my PfSense this morning, I saw the memory usage at 85%.What could be the cause for that ? That something I can do for drop this ?
Thanks All,
-
That something I can do for drop this ?
Uninstall some packages that are chewing up your memory? My 2.2.4 is at 11% of 2GB, and I have squid, squidGuard, Sarg & Lightsquid running.
-
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
11 root 171 ki31 0K 16K RUN 1 1292.4 100.00% [idle{idle: cpu1}]
11 root 171 ki31 0K 16K CPU0 0 1291.7 100.00% [idle{idle: cpu0}]
70513 root 45 0 84528K 26588K piperd 1 0:06 0.59% /usr/local/bin/php{php}
12 root -32 - 0K 144K WAIT 0 132:01 0.00% [intr{swi4: clock}]
74694 proxy 64 20 426M 417M kqread 1 121:16 0.00% (squid-1) -f /usr/pbi/squid-i386/etc/squid/
0 root -68 0 0K 88K - 0 26:56 0.00% [kernel{em0 que}]
12 root -68 - 0K 144K WAIT 0 23:19 0.00% [intr{irq21: skc0}]
22 root 20 - 0K 8K syncer 1 13:56 0.00% [syncer]
21893 root 64 20 3264K 1272K select 0 12:48 0.00% /usr/local/sbin/apinger -c /var/etc/apinger
75517 root 76 20 3644K 1332K wait 1 10:51 0.00% /bin/sh /var/db/rrd/updaterrd.sh
12 root -44 - 0K 144K WAIT 1 7:04 0.00% [intr{swi1: netisr 1}]
14 root -16 - 0K 8K - 1 5:08 0.00% [yarrow]
12 root -32 - 0K 144K WAIT 0 4:30 0.00% [intr{swi4: clock}]
16 root -16 - 0K 8K tzpoll 1 3:25 0.00% [acpi_thermal]
260 root 76 20 3352K 1204K kqread 1 2:56 0.00% /usr/local/sbin/check_reload_status
3 root -8 - 0K 8K - 0 2:38 0.00% [g_up]
47083 root 44 0 5620K 3556K select 1 2:23 0.00% /usr/local/sbin/racoon -f /var/etc/ipsec/ra
94106 root 44 0 3412K 1396K select 1 2:07 0.00% /usr/sbin/syslogd -s -c -c -l /var/dhcpd/vaThat my System Activity whcih should I uninstall ?
-
Showing me a list of system processes isn't that helpful.
Which version of pfSense, and i386 or x64?
What packages, if any, do you have installed? (System - Packages - Installed Packages)
If you reboot the unit, does it come back up at 85% or does it crawl upwards over time?
What does Status - RRD Graphs - System - Memory show? Is the memory usage flat or does it climb over time? -
Version : x64
Package Install : pfBlocker - squid3-dev - squidGuard-devel
When i restart the same thing happen.
-
Yeah, either remove the Squid* stuff or get some decent RAM.
-
Yeah, either remove the Squid* stuff or get some decent RAM.
426M 417M kqread 1 121:16 0.00% (squid-1) -f /usr/pbi/squid-i386/etc/squid/ ``` <- squid proxy is using 417 mbyte allready
-
Thanks Guys,
i will remove it and i will check if it will drop my memory usage.
-
By default, squid only uses 8MB or something. And like I said earlier, I'm running squid3 and squidGuard, and only using 11% of 2GB. Magny, what do you have for Services - Proxy Server - Local Cache - Squid Memory Cache Settings - Memory cache size?
-
Memory cache size
8This is the amount of physical RAM (in megabytes) to be used for negative cache and in-transit objects. This value should not exceed more than 50% of the installed RAM. The minimum value is 1MB.
Maximum object size in RAM
32 -
@KOM:
By default, squid only uses 8MB or something.
http://wiki.squid-cache.org/SquidFaq/SquidMemory
-
Yes, I know but users usually tune this particular option so it's what I check first. It still shouldn't be a problem if he has used the default 16x256 cache structure.