Memory use question
-
Was wondering if someone could take a look at the memory use on my RCC-VE 2440 and let me know if this looks OK.. From what I understand, FreeBSD will load up on inactive memory as cache and consume free memory as needed, and then flush it – is that correct?
last pid: 64534; load averages: 0.13, 0.39, 0.53 up 2+00:14:42 15:55:55 42 processes: 1 running, 41 sleeping CPU: 1.4% user, 1.8% nice, 0.4% system, 0.4% interrupt, 96.1% idle Mem: 960M Active, 2210M Inact, 565M Wired, 416M Buf, 165M Free Swap: 8192M Total, 90M Used, 8102M Free, 1% Inuse
Thanks,
Rick
-
Mine looks pretty much flat with little activity around when Snort restarts to load new rules. Do you have package running that uses a lot of memory and does some scheduled stuff?
-
http://www.linuxatemyram.com/
http://stackoverflow.com/questions/4093786/what-is-equivalent-of-linuxs-free-command-on-freebsd-v8-1
Edit.
What do you have running package wise on the box although this looks relevant for you as pfsense uses UFS.
https://forums.freebsd.org/threads/inactive-memory-vs-free-memory.8591/ -
This box has two instances of Suricata running, along with Barnyard… I took a look at the logs, and the point where the inactive memory flushes and returns to free memory every other hour and a half or so is when Suricata does automatic cleanup of the logs.
-
Interesting, do you know if its affecting performance of the system elsewhere?
I dont run Suricata but I wondered if this might be relevant to your situ?
https://forum.zentyal.org/index.php?topic=18893.0 -
Interesting, do you know if its affecting performance of the system elsewhere?
I dont run Suricata but I wondered if this might be relevant to your situ?
https://forum.zentyal.org/index.php?topic=18893.0I am not seeing any negative impacts on performance.. Swap usage remains steady at 0%, and the CPU RRD graph looks good, with occasional spikes to 50-60% CPU during rule reloads.. As far as the link you sent – my stats log is being rotated according to the default automatic log cleanup settings under "Log size and retention limits". I have turned off the hard limit on directory size, and my Suricata logs are staying at around 2-3GB with automatic rotation and retention.