- 论坛徽章:
- 0
|
我在一台linux redhat 9.0 机子上(CPU 3.0GHz ,1G memory) 配置的sendmail+openwebmail,有内外两块网卡,收发邮件都正常,就是发现运行一段时间后,sendmail就把CPU 占用到百分之八九十了,这种情况下,连telnet上去敲命令反应都很慢,请教各位,是什么原因呢?
注:同时内存也接近占到1G,不过我看资料说好像linux下的内存管理是把整个内存都当作缓存是吧,也许算正常?CPU占用数过一段时间会有所下降,不过很快就又占用到百分之八九十了。sendmail进程数并不多,如下:
ps aux | grep sendmail
root 901 0.0 0.0 5908 588 ? S 12:44 0:05 [sendmail]
smmsp 947 0.0 0.0 5712 60 ? S 12:44 0:00 [sendmail]
smmsp 948 28.9 0.6 20992 6996 ? D 12:44 57:00 [sendmail]
smmsp 1383 32.0 0.7 20980 8072 ? D 13:44 43:52 [sendmail]
smmsp 1682 27.6 0.8 16700 9024 ? D 14:44 21:14 [sendmail]
smmsp 1872 21.9 0.1 6404 1064 ? D 15:44 3:42 [sendmail]
root 1954 0.0 0.0 3568 624 pts/0 S 16:01 0:00 grep sendmail
请问我遇到的这种现象是正常现象吗,不正常的话,如何避免呢? |
|