Chinaunix首页 | 论坛 | 博客
  • 博客访问: 293656
  • 博文数量: 57
  • 博客积分: 965
  • 博客等级: 准尉
  • 技术积分: 736
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-24 10:22
文章分类

全部博文(57)

文章存档

2014年(2)

2013年(22)

2012年(25)

2011年(8)

分类: LINUX

2013-03-14 14:59:11

       最近折腾搭建了centreon+nagios,发现有时候在centreon中新增服务,重启服务nagios后,机器中会增多无缘无故增多了一个nagios进程,其中一个进程启动时间是我上一次在网页选择导出centreon配置和重启nagios的时间,另外一个nagios进程是我刚刚导出配置和重启nagios的时间,开始有点纠结,不知道怎么回事,以为是centreon或者nagios的bug,但想想又觉得不对,而且发现nagios中服务没有按照设定的周期进行新检测了,上次遇到这问题是系统内核消息队列设置问题,于是查看了系统message日志,果然,发现又报如下错误了。


Mar 14 10:51:42 localhost ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 64 of 100000 messages and 65536 of 65536 bytes in the queue. See README for kernel tuning options.
Mar 14 14:38:42 localhost kernel: process `grep' is using deprecated sysctl (syscall) net.ipv6.neigh.sit0.base_reachable_time; Use net.ipv6.neigh.sit0.base_reachable_time_ms instead.
Mar 14 14:42:24 localhost ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 63 of 100000 messages and 64512 of 65536 bytes in the queue. See README for kernel tuning options.
Mar 14 14:42:24 localhost ndo2db: Message sent to queue.
Mar 14 14:42:24 localhost ndo2db: Warning: queue send error, retrying...
Mar 14 14:55:01 localhost auditd[3098]: Audit daemon rotating log files


于是重新设置了
kernel.msgmax = 6553600
kernel.msgmnb = 431072000
kernel.msgmni = 100000

问题好像解决了,有待观察。
阅读(2952) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~