Hi Team,
i am getting below error in /var/log/messages
ndo2db: Warning: queue send error, retrying...
localhost ndo2db: Message sent to queue.
This is my sysctl.conf
kernel.msgmnb = 131072000
# Controls the maximum size of a message, in bytes
kernel.msgmax = 131072000
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
kernel.msgmni = 256000
Also please find ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 46668
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 46668
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
i did a reboot also after making changes in kernel parameters.
System configuration is 6GB RAM with 4 CPUS.
No of hosts: 271 and Services: 442
Kindly help as monitoring is affecting badly.
Ndo2db stop checks on nagiosxi
Re: Ndo2db stop checks on nagiosxi
Before we increase your kernel message queues further, we could try setting fewer worker processes. The message queues are used for inter-process communication. Each worker spawns processes to run the actual checks, which could result in a lot of processes.
Please run:
This will allow us to see how many workers you have running. If there are a lot, you can limit the amount by running:
I suggest setting the number to 4 (because you have 4 cores) to start with, and seeing if that helps at all.
Please run:
Code: Select all
ps -ef|grep workerCode: Select all
echo "check_workers=NUMBER" >> /usr/local/nagios/etc/nagios.cfg
service nagios restartRe: Ndo2db stop checks on nagiosxi
hi jolson,
No luck
No luck
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Ndo2db stop checks on nagiosxi
What version of Nagios XI are you running?
Re: Ndo2db stop checks on nagiosxi
2014R2.6
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Ndo2db stop checks on nagiosxi
Closing thread as there is already an email ticket open.