Monitor clamd
Posted: 28 Jan 2008, 23:57
Hi
We follow the suggestion about changing MailScanner virus scanner to clamd, but have the following problems:
Frist, clamd starts using about 32Mb, but sometimes, don't know why, rises up to 150mb ... and suddenly stops working.
Cpanel doesn't monitor clamd unless clamvconnect is intalled, which breaks MailScanner. We installed one of the routines that comes with ClamAV to monitor clamd, but seems that doesn't always works. Sometimes it does restart clamd, others doesn't.
We installed clamdmon, and set the cron job every 5 min to monitor clamd. In about half of the times we detect clamd was not working, this directive doesn't work either.
/usr/local/sbin/clamdmon.sh -p /tmp/clamd.socket
We run this command about 2 or 3 times from console and clamd restarts.....
Do you have a better method to monitor clamd and restart it in case clamd stop working?
also, it's normal that clamd uses so much memory? (We happily switch to clamd because of the promise of use less memory, but 150mb it's to much)
Thanks in advance
We follow the suggestion about changing MailScanner virus scanner to clamd, but have the following problems:
Frist, clamd starts using about 32Mb, but sometimes, don't know why, rises up to 150mb ... and suddenly stops working.
Cpanel doesn't monitor clamd unless clamvconnect is intalled, which breaks MailScanner. We installed one of the routines that comes with ClamAV to monitor clamd, but seems that doesn't always works. Sometimes it does restart clamd, others doesn't.
We installed clamdmon, and set the cron job every 5 min to monitor clamd. In about half of the times we detect clamd was not working, this directive doesn't work either.
/usr/local/sbin/clamdmon.sh -p /tmp/clamd.socket
We run this command about 2 or 3 times from console and clamd restarts.....
Do you have a better method to monitor clamd and restart it in case clamd stop working?
also, it's normal that clamd uses so much memory? (We happily switch to clamd because of the promise of use less memory, but 150mb it's to much)
Thanks in advance