ndo2DB errors and IPC
Posted: Fri Aug 24, 2018 10:41 am
Hey,
We are often noticing ndo2db errors in /var/log/messages.
the IPC queue at this time are full.
here are the IPC settings in /etc/sysctl.cfg
They get to normal when we clear the IPC queue with for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done and stop/start nagios and ndo2db
This is coming up about every 6 hours or so. How do we handle it?
FYI: Our setup is federated and has 3603 hosts with 15053 services all PASSIVE, MariaDB hosted on a separate server. No loads / cpu / memory contention on the DB server.
We are often noticing ndo2db errors in /var/log/messages.
Code: Select all
ndo2db: Error: max retries exceeded sending message to queue. Kernel queue parameters may neeed to be tuned. See README.
Code: Select all
ipcs -q
------ Message Queues --------
key msqid owner perms used-bytes messages
0x97010080 1212416 nagios 600 262144000 256000
Code: Select all
kernel.msgmnb = 262144000
kernel.msgmax = 262144000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.msgmni = 512000
This is coming up about every 6 hours or so. How do we handle it?
FYI: Our setup is federated and has 3603 hosts with 15053 services all PASSIVE, MariaDB hosted on a separate server. No loads / cpu / memory contention on the DB server.