-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Remember this, when we wrote about the large memory footprint of clamd? Well, it no longer happens, clamd is swapped out soon after a mail fetch run: top - 19:33:22 up 11 days, 7:47, 1 user, load average: 0,44, 0,58, 0,93 Tasks: 520 total, 1 running, 517 sleeping, 0 stopped, 2 zombie %Cpu(s): 1,6 us, 0,6 sy, 0,0 ni, 96,6 id, 1,2 wa, 0,0 hi, 0,1 si, 0,0 st KiB Mem: 8174404 total, 2576192 used, 5598212 free, 45080 buffers KiB Swap: 25165820 total, 3958492 used, 21207328 free. 1152372 cached Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 3884 vscan 20 0 1054360 15528 0 519464 S 0,000 0,190 6:17.80 clamd 7269 cer 20 0 4083836 490408 53260 334432 S 0,331 5,999 250:57.99 thunderbird-bin (sorted by swap usage) I did nothing in the end. Perhaps some update altered the way clamd behaves regarding memory :-? If it was some update, thanks :-) On Saturday, 2017-08-05 at 23:05 +0200, Carlos E. R. wrote:
Hi,
When I built my computer I put as much RAM as the board would allow, 8GiB. Today that is too little, but I can't add more.
Telling 'mc' to sort by Resident memory, it shows:
(top)
top - 22:44:32 up 28 days, 4:37, 4 users, load average: 0,26, 0,55, 1,02 Tasks: 521 total, 2 running, 517 sleeping, 0 stopped, 2 zombie %Cpu(s): 1,2 us, 0,6 sy, 0,0 ni, 97,3 id, 0,8 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem: 8174408 total, 7511580 used, 662828 free, 546440 buffers KiB Swap: 43744244 total, 1921984 used, 41822260 free. 3837656 cached Mem
PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 20581 cer 20 0 3553104 1,266g 263636 0 R 4,088 16,24 3:52.94 firefox 3493 vscan 20 0 1376180 536972 10364 14548 S 0,000 6,569 11:27.15 clamd
...
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.
Could the daemon be started "on demand", and be killed a minute after the last email goes through?
- -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlo1aHMACgkQtTMYHG2NR9X0vgCfXW5mkoKuQ7YJbm5Loapej43K NWEAnA0QvbYr5ErvcUer+fK33NVcSz5d =WxYY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org