Quote:
Originally Posted by sokha
Hi,
I run CentOS (under OpenVZ). I setup qmailtoaster a few weeks ago and it is working fine with 386MB ram VPS (including mysql, lighttpd). I noticed that clamd process consumes much memory. I think it is not really needed.
Is it possible to disable it without reinstall qmailtoaster?
Thanks,
|
I found mention of this on the qmailtoaster list:
http://www.mail-archive.com/qmailtoa.../msg17919.html
Check for the directory:
/var/qmail/supervise/clamd
If it exists, move or remove the directory (I would back it up to be safe).
Shutdown qmailtoaster and make sure clamd stopped. If clamd doesn't stop, kill the process nicely with the default TERM signal (kill pid) and then check again. If it still doesn't stop, you may wish to kill the process with the INT or KILL signals (kill -INT pid or kill -KILL pid).
Myself, I prefer to just restart the server, to make sure clamd won't start-up automatically after a system reboot, but that's just me.
Also, keep in mind that clamd can ship and execute separately from qmailtoaster, so make sure your clamd is being started by qmailtoaster and not from somewhere else (init.d, chkconfig, rc.d scripts).
Hope this helps!