全部博文(57)
分类: 系统运维
2013-02-21 11:28:17
Feb 20 18:57:25 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:25 opweb ndo2db: Error: queue init error.
Feb 20 18:57:25 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:25 opweb ndo2db: Error: queue send error.
Feb 20 18:57:25 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:25 opweb ndo2db: Error: queue init error.
Feb 20 18:57:25 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:25 opweb ndo2db: Error: queue send error.
Feb 20 18:57:25 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb last message repeated 105538 times
Feb 20 18:57:26 opweb ndo2db: Error: queue init error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue send error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue init error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue send error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue init error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue send error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue init error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:26 opweb ndo2db: Error: queue send error.
Feb 20 18:57:26 opweb ndo2db: Error: queue recv error.
Feb 20 18:57:56 opweb last message repeated 3858989 times
Feb 20 18:58:46 opweb last message repeated 6042896 times
Feb 20 18:59:15 opweb ndo2db: Message sent to queue.
Feb 20 18:59:15 opweb ndo2db: Warning: queue send error, retrying...
Feb 20 19:13:49 opweb 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 128 of 1985 messages and 131072 of 131072 bytes in the queue. See README for kernel tuning options.
最近搭建centreon+nagios的时候,搭建完成后,过几个小时就发现/var/log/message里面报错(如上),开始以为是ndo2db安装有问题,这个环境重装了还是没解决,遇上网上找了一下,
最后改了下系统内核参数如下,就正常了。
#test@ vim /etc/sysctl.conf
kernel.msgmax = 131072000
* kernel.msgmax s the maximum size of a single message in a message queue (每个消息的最大size)
* kernel.msgmni is the maximum number of messages allowed in any one message queue (整个系统的最大数量的消息队列)
* kernel.msgmnb is the total number of bytes allow in all messages in any one message queue(每个消息队列的最大字节限制,一个队列有多个消息)