免费注册 查看新帖 |

Chinaunix

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

Syslogd 运行的时候系统几乎死掉 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-10 18:37 |只看该作者 |倒序浏览
Syslogd 运行的时候系统几乎死掉

其他服务比如mysql nginx等都不能运行

请问该怎么解决?

论坛徽章:
0
2 [报告]
发表于 2009-12-10 21:22 |只看该作者
是不是很多程序都在打log呢啊? 看看你的i/o

论坛徽章:
0
3 [报告]
发表于 2009-12-10 21:57 |只看该作者
原帖由 7717060 于 2009-12-10 21:22 发表
是不是很多程序都在打log呢啊? 看看你的i/o


查看到当时message cron 等,都有更新

论坛徽章:
0
4 [报告]
发表于 2009-12-10 22:00 |只看该作者
把你的/etc/syslog.conf帖一下

论坛徽章:
0
5 [报告]
发表于 2009-12-11 10:33 |只看该作者
原帖由 7717060 于 2009-12-10 22:00 发表
把你的/etc/syslog.conf帖一下



# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                         /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none        /var/log/messages

# The authpriv file has restricted access.
authpriv.*                      /var/log/secure

# Log all the mail messages in one place.
mail.*                          -/var/log/maillog
14
15
Log cron stuff
cron.*                          /var/log/cron

# Everybody gets emergency messages
*.emerg                         *

# Save news errors of level crit and higher in a special file.
uucp,news.crit                      /var/log/spooler

# Save boot messages also to boot.log
local7.*                        /var/log/boot.log

论坛徽章:
0
6 [报告]
发表于 2009-12-11 10:36 |只看该作者
麻烦版主了

论坛徽章:
0
7 [报告]
发表于 2009-12-11 10:43 |只看该作者
/etc/syslog.conf 这么看好像没什么问题
你系统里的zombie看看还有吗?
现在进程数多少,还是那机器码?
strace 一下你的syslogd 看在做什么呢
看看你的i/o是否正常?

论坛徽章:
0
8 [报告]
发表于 2009-12-11 11:06 |只看该作者
原帖由 7717060 于 2009-12-11 10:43 发表
/etc/syslog.conf 这么看好像没什么问题
你系统里的zombie看看还有吗?
现在进程数多少,还是那机器码?
strace 一下你的syslogd 看在做什么呢
看看你的i/o是否正常?


zombie是由于vsftpd造成的,现在已经解决了。谢谢

我试试strace

syslogd是一直运行吗?能否指定某个时间运行

我是菜鸟,提问请别见笑

论坛徽章:
0
9 [报告]
发表于 2009-12-11 22:50 |只看该作者
cpu 100%吗?

打开系统监视器,查看进程,io读写,和网络情况。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP