-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2017-08-05 at 23:05 +0200, Carlos E. R. wrote: ...
The worst offender this moment is Firefox (Thunderbird is closed now). But the next is clamd (clamav, antivirus mail scanner daemon)! It is using more than LibreOffice!
How can that be? It is iddle at the moment, doing nothing.
What can be done to reduce its footprint?
Instead of the daemon, I could call it from amavis, one process per mail. But this impacts scan speed.
And amavis first tries the daemon, several times, before giving up and starting the process. Also, even if clamd service is not enabled, restarting amavis automatically starts clamd. Some sort of dependency.
Could the daemon be started "on demand", and be killed a minute after the last email goes through?
I googled, and it seems that yes, clamd uses a lot of memory for the databases, and it can not be swapped out. Data, not code. However, I still don't understand why it remains in RAM hours after the last email was processed. However, I see it gets called on socket "/var/run/clamav/clamd-socket". I wonder if it would be possible to use systemd to load the daemon when something tries that socket :-? Hw is that done? - -- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlmH2qoACgkQtTMYHG2NR9VQ+ACfX58JzMMdKO6DlWNfJ3I4pxO4 0XsAni8aifApMk5beEEPLp7CVA365TdQ =mI8B -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org