免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1567 | 回复: 0
打印 上一主题 下一主题

clamscan 导致系统交换分区不足而使系统崩溃 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-12 09:45 |只看该作者 |倒序浏览
我使用qmail+qmail-scanner+clamscan 在freebsd5.0上。384M物理内存,512M交换分区。clamscan 为0.7版本

以下用top得到结果:
last pid: 46447;  load averages: 24.39, 17.20, 11.01    up 0+16:05:11  08:58:
179 processes: 43 running, 134 sleeping, 2 zombie
CPU states: 40.5% user,  0.0% nice, 43.5% system, 16.0% interrupt,  0.0% idle
Mem: 208M Active, 26M Inact, 64M Wired, 7952K Cache, 41M Buf, 736K Free
Swap: 512M Total, 409M Used, 103M Free, 79% Inuse, 7108K In, 2388K Out
  PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
5248 vpopmail 104    0  5132K  2664K RUN      3:15  7.27%  2.15% httpd
46306 root     107    0 13672K 11504K RUN      0:02  1.13%  1.12% clamscan
46316 root     107    0 12156K 10824K RUN      0:01  1.08%  1.07% clamscan
46301 root     107    0 13224K  9524K RUN      0:02  0.98%  0.98% clamscan
5158 vpopmail   4    0  4012K     8K sbwait   7:51  0.00%  0.88% <httpd>;
46446 qmaild   104    0  2868K  2028K RUN      0:00  3.39%  0.88% perl
46291 root     102    0 17004K  9204K RUN      0:02  0.83%  0.83% clamscan
46388 qmaild   105    0  4256K  3364K RUN      0:01  0.86%  0.78% perl
46239 root     106    0 22320K  7596K RUN      0:04  0.73%  0.73% clamscan
46341 root     106    0  9840K  9148K RUN      0:01  0.74%  0.73% clamscan
46381 qmaild   106    0  4484K  3584K RUN      0:01  0.77%  0.73% perl
46379 root     107    0  4572K  3908K RUN      0:01  0.77%  0.73% clamscan
46207 root     105    0 22320K  4764K RUN      0:05  0.59%  0.59% clamscan
46329 root     107    0 10716K  9384K RUN      0:01  0.59%  0.59% clamscan
46396 qmaild   106    0  4380K  3488K RUN      0:01  0.68%  0.59% perl
46203 root     111    0 22320K  3328K RUN      0:05  0.54%  0.54% clamscan
45623 vpopmail -20    0  3684K  1840K swread   0:02  0.55%  0.54% httpd
46384 root     106    0  4684K  3832K RUN      0:01  0.57%  0.54% perl

其中Swap不断的减少。最后在/var/log/message里面有以下记录:
May 11 16:11:11 mail ntpd[396]: kernel time discipline status change 2041
May 11 16:13:52 mail kernel: swap_pager: out of swap space
May 11 16:13:52 mail kernel: swap_pager_getswapspace: failed
May 11 16:13:52 mail kernel: pid 1976 (clamscan), uid 0, was killed: out of swap
space
May 11 16:13:52 mail kernel: pid 1976 (clamscan), uid 0, was killed: out of swap
space
May 11 16:14:07 mail kernel: swap_pager_getswapspace: failed
May 11 16:14:08 mail last message repeated 118 times
May 11 16:14:08 mail kernel: pid 1988 (clamscan), uid 0, was killed: out of swap
space
May 11 16:14:08 mail kernel: pid 1726 (clamscan), uid 0, was killed: out of swap
space
May 11 16:14:21 mail kernel: swap_pager_getswapspace: failed
May 11 16:14:29 mail last message repeated 462 times
May 11 16:14:29 mail kernel: pid 2032 (clamscan), uid 0, was killed: out of swap

最后系统无法响应任何操作从而系统崩溃。

感谢每一位朋友的回复,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP