Memory (RAM) usage issues #11802
Replies: 3 comments 2 replies
-
The same thing cropped up for somebody a year or so ago, but I cannot find the thread right now. It did not get resolved IIRC, or maybe the OP just stopped responding. Starting to look like one of those really rare corner cases, for real. Probably a hardware issue of some sort, would be my guess. |
Beta Was this translation helpful? Give feedback.
-
Have you tried changing the value of "swappiness" that's configured? It's in the administration -> configuration section of the SO web console. I can't recall exactly what the setting is called but it's in there somewhere. The lower the value the less aggressively SO will try to use swap memory over RAM. I also have a standalone deployment and the value defaulted to 10 (max is 100). You could try changing it to 1, or even 0. I personally haven't tested other values but I'd give it a shot. |
Beta Was this translation helpful? Give feedback.
-
Can you provide more information about why you perceive this to be a problem?
I'm not sure why swap would be re-enabled unless the box were rebooted. If you want to make sure it is permanently disabled, then you can comment out the swap line in /etc/fstab and reboot the box.
Are you referring to the 70Gi buff/cache? This is most likely the operating system caching data for Elasticsearch.
PCAP retention is more related to disk space than RAM.
Most likely not. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello and thank you for your time.
I am currently working on getting a standalone security onion server configured in my environment on the following hardware:
Memory
CPU
Problem:
My Issue is that my memory usage peaks out at around 40%-45%.
Despite this, swap will creep up to 100%. As swap usage increases, some issues arise, including failing PCAP retrieval.
I have turned off swap using
sudo swapoff -a
which did increase memory usage a few percentage points, and made PCAPs accessible again.However, later (4~6 hours?) swap somehow is enabled again, and starts to creep up, repeating the cycle.
Using
free -h
I can see that the memory looks to be allocated to something (SO?)Side Notes:
Beta Was this translation helpful? Give feedback.
All reactions