OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • OPNsense 21.7.3_3-amd64 High RAM & Swap Usage
« previous next »
  • Print
Pages: [1]

Author Topic: OPNsense 21.7.3_3-amd64 High RAM & Swap Usage  (Read 914 times)

toups

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
OPNsense 21.7.3_3-amd64 High RAM & Swap Usage
« on: October 19, 2021, 12:05:04 am »
I have run into an odd memory issue with the latest version of OPNsense. It has not impacted the performance that I have observed and that might be due to my setup having 16GB of RAM (total overkill i3 box). I have attached a 4 day netdata graphs of the ram and swap so you can observe the abrupt utilization of swap.

I have tried restarting a few services I suspected might be involved; OpenVPN, unbound DNS, squid, maltrailserver, & pf; but no effect on the memory utilization. I haven't able to pinpoint a source of the "memory leak".

Can someone point me in the right direction for tracking down the culprit?
Logged

almodovaris

  • Full Member
  • ***
  • Posts: 155
  • Karma: 8
    • View Profile
Re: OPNsense 21.7.3_3-amd64 High RAM & Swap Usage
« Reply #1 on: October 19, 2021, 12:31:14 am »
Try to establish the culprit with top.

I don't use a swap partitition, nor a swap file.
Logged

toups

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: OPNsense 21.7.3_3-amd64 High RAM & Swap Usage
« Reply #2 on: October 19, 2021, 02:52:15 am »
I figured it out. It was 'sensor.py' from maltrail. Did a kill -9 and cleaned the up. Memory went back to normal after killing all the stalled processes. Amazing the amount of memory it used.

Code: [Select]
root            22709   1.6 59.3 14911256 9840288  -  S    Wed17      82:47.40 python3 /usr/local/share/maltrail/sensor.py (python3.8)
root            64278   1.2 10.7  1879176 1768736  -  S    Wed17      89:39.83 python3 /usr/local/share/maltrail/sensor.py (python3.8)
root            84879   1.1 10.7  1879472 1779280  -  S    Wed17      89:47.98 python3 /usr/local/share/maltrail/sensor.py (python3.8)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • OPNsense 21.7.3_3-amd64 High RAM & Swap Usage
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2