# clamdscan --multiscan /
上記コマンドで、/swapfile の memory allocation エラーとなる。
/swapfile: Can't allocate memory ERROR
これは別に問題ない。/swapfile が物理メモリの値を超えているため。
/swapfile を小さくするのは意味がないので、検査対象から外す。
# vim /etc/clamd.d/scan.conf
...(snip)...
ExcludePath ^/proc/
ExcludePath ^/sys/
# add this line
ExcludePath ^/swapfile
...(snip)...
デーモンリスタート
# systemctl restart clamd@scan.service