(原創)qmail 中clamd 使到server的load average過高的處理方法

load average 高時:(請先停smtp,再停clamd)
1.stop smtp
svc-stop /service/qmail-smtpd
 
2.stop clamd
/etc/init.d/clamd stop
 
load average 降低后:(請先開clamd,再開smtp)
1.start clamd
/etc/init.d/clamd start
********************************************************************************************************
若出現:
[root@S060601 clamav]# /etc/init.d/clamd start
Starting Clam AV daemon: ERROR: Problem with internal logger. Please check the permissions on the /var/log/clamav/clamd.log file.
ERROR: Can't open /var/log/clamav/clamd.log in append mode (check permissions!).
                                                           [FAILED]
(1)chown qscand:qscand /var/log/clamav/clamd.log
(2)/etc/init.d/clamd start
********************************************************************************************************
 
2.start smtp
svc-start /service/qmail-smtpd