clamav daemonize() failed cannot allocate memory

rusli
Site Admin
文章: 212
註冊時間: 週三 7月 07, 2010 9:49 pm

clamav daemonize() failed cannot allocate memory

文章rusli » 週三 11月 23, 2016 11:55 am

This creates a fake swap file on CentOS 6, this should help. EC2 does not have swap available. I use this on some virtual systems that run database software that requires swap.

代碼: 選擇全部

dd if=/dev/zero of=/swapfile bs=1M count=512
mkswap /swapfile
swapon /swapfile
free -m should now show the 512MB swap


add this to /etc/fstab to enable swap at boot time /swapfile swap swap defaults 0 0 If you don't then you need to run "swapon /swapfile" after every reboot


ref: https://www.virtualmin.com/node/33699

回到「Mail Server」

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客