主题: amavisd时不时死掉,需要优化还是加强硬件?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Centos 6.5
- 与您的问题相关的日志信息:
Jun 13 11:01:50 mail kernel: [14275] 496 14275 85515 22918 0 0 0 amavisd
Jun 13 11:01:50 mail kernel: [31813] 496 31813 86308 23382 0 0 0 amavisd
Jun 13 11:01:50 mail kernel: [32192] 496 32192 86320 23394 0 0 0 amavisd
Jun 13 11:02:09 mail kernel: amavisd invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Jun 13 11:02:09 mail kernel: amavisd cpuset=/ mems_allowed=0
Jun 13 11:02:09 mail kernel: Pid: 14275, comm: amavisd Not tainted 2.6.32-358.6.2.el6.x86_64 #1
Jun 13 11:02:09 mail kernel: [14275] 496 14275 85515 22918 0 0 0 amavisd
Jun 17 15:35:30 mail kernel: [<ffffffff8111d6b0>] ? out_of_memory+0x220/0x3c0
Jun 17 15:35:30 mail kernel: Out of memory: Kill process 15831 (clamscan) score 153 or sacrifice child
Jun 17 23:20:38 mail kernel: [<ffffffff8111d6b0>] ? out_of_memory+0x220/0x3c0
Jun 17 23:20:38 mail kernel: Out of memory: Kill process 22650 (clamscan) score 176 or sacrifice child
====
amavisd服务时不时死掉,平均几天一次,restart之后就可以恢复。邮箱提示的错误是 connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
top - 23:28:32 up 69 days, 9:05, 1 user, load average: 0.00, 0.02, 0.00
Tasks: 111 total, 1 running, 110 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1018804k total, 690816k used, 327988k free, 6652k buffers
Swap: 0k total, 0k used, 0k free, 78212k cached
谢谢!