主题: 求教:amavis 经常无故停掉

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.2
- 使用哪个数据库存储用户帐号(MySQL):
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.5
- 与您的问题相关的日志信息:
====
amavis 经常无故停掉,maillog信息如下。


Sep 15 16:43:52 mail amavis[2194]: (02194-01) (!)connect to /tmp/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /tmp/clamd.socket: 2
Sep 15 16:43:52 mail amavis[2193]: (02193-01) (!)connect to /tmp/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /tmp/clamd.socket: 2
Sep 15 16:43:53 mail amavis[2193]: (02193-01) (!)connect to /tmp/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /tmp/clamd.socket: No such file or directory
Sep 15 16:43:53 mail amavis[2193]: (02193-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /tmp/clamd.socket, retrying (2)
Sep 15 16:43:53 mail amavis[2194]: (02194-01) (!)connect to /tmp/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /tmp/clamd.socket: No such file or directory
Sep 15 16:43:53 mail amavis[2194]: (02194-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /tmp/clamd.socket, retrying (2)
Sep 15 16:43:59 mail amavis[2193]: (02193-01) (!)connect to /tmp/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /tmp/clamd.socket: No such file or directory

回复: 求教:amavis 经常无故停掉

amavis  restart 后一段时间又停止。

回复: 求教:amavis 经常无故停掉

clamav+spamassassin 在检查邮件的时候会占用较多内存,如果服务器内存小于1G 的话,可能会出现 clamav 无法启动的情况,导致邮件都积压在队列。建议升级服务器内存至 2GB。

回复: 求教:amavis 经常无故停掉

明白了,应该是内存不够,非常感谢张工!
祝工作顺利