LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 625|回复: 3

为何sendmail在系统启动时费时巨多?

[复制链接]
发表于 2004-10-5 22:27:01 | 显示全部楼层 |阅读模式
不论在linux下还是freebsd下
只要开启了sendmail服务
系统启动时就要花老长时间,其中很大部分时间都是在等待sendmail启动
可是在这段时间里根本没有磁盘I/O啊(硬盘灯一直不亮)?
发表于 2004-10-6 00:27:27 | 显示全部楼层
是/etc/hosts的原因
 楼主| 发表于 2004-10-6 15:05:42 | 显示全部楼层
我的/etc/hosts文件里
除了自己的主机名和IP
就没什么呀!
为啥sendmail要在这个文件上花那么久的时间?
发表于 2004-10-6 17:51:25 | 显示全部楼层
127.0.0.1   localhost localhost.localhodomain localhost
192.168.1.8     Snoopy   localhost.localdomain localhost

向我的一样,或是添加一条自己主机名对应127.0.0.1 看看
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表