21.7.1 and high swap usage

Started by Leviathan, August 20, 2021, 04:19:51 PM

Previous topic - Next topic
Hi guys, after the upgrade to 21.7.1 I've noticed a very high consumption of ram and swap: ram over 50% and swap, after a couple of days of activity, at 99%  :o.
Clearly this problem is solved by restarting, but in all these years of use it had never happened to me. It is absolutely not a machine problem, as it mounts an i5-9400F with 16 Gb of ram. Reading on the net someone suggestedd to disable the ipv6, but I currently, on this infrastructure, don't use it.
Has it happened to others? Thanks for the answers.
A rainy day...

Quote from: Leviathan on August 20, 2021, 04:19:51 PM
Hi guys, after the upgrade to 21.7.1 I've noticed a very high consumption of ram and swap: ram over 50% and swap, after a couple of days of activity, at 99%  :o.
Clearly this problem is solved by restarting, but in all these years of use it had never happened to me. It is absolutely not a machine problem, as it mounts an i5-9400F with 16 Gb of ram. Reading on the net someone suggestedd to disable the ipv6, but I currently, on this infrastructure, don't use it.
Has it happened to others? Thanks for the answers.

I've also noticed this but for me this is tied to the Maltrail application's sensor python script. The moment I restart the sensor the memory is back to around 7% which is my average. I didn't have this problem prior to 21.7.1 and have put in a daily job to restart maltrail to get it back to normal.

Yes it would be helpful to know which services are running.

This is the list of services now running:

    clamd
    configd
    cron    
    dhcpd 
    flowd_aggregate    
    freshclam 
    iperf   
    ipfw   
    login
    maltrailserver   
    ntpd    
    openvpn 
    pf
    redis    
    routing
    samplicate 
    suricata    
    sysctl   
    syslog-ng    
    syslogd    
    webgui
A rainy day...


Good evening guys. To date, I still do not think there is an official solution to the problem, nor can I understand what actually is the service that is causing the exhaustion of swap memory. Currently I can solve the problem every 5-6 days with a restart of the firewall... which turns out to be really annoying  :'(...
A rainy day...

Same here. Mine arrive 99% swap usage and even if everything was still working I rebooted to clear it up.
As mentioned by others it's Maltrail. My workaround is to restart the service at least once a day. Hopefully it will be patched eventually.

Quote from: Leviathan on September 03, 2021, 11:52:30 PM
Good evening guys. To date, I still do not think there is an official solution to the problem, nor can I understand what actually is the service that is causing the exhaustion of swap memory. Currently I can solve the problem every 5-6 days with a restart of the firewall... which turns out to be really annoying  :'(...

You could make it less annoying by using a cron script.