0
0

More than 3 years have passed since last update.

Clamav の memory allocation エラーの対処方法

Posted at
# 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
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0