Page 1 of 1
So many ndo2db processes
Posted: Fri May 17, 2019 2:03 am
by Nabi
Hello,
Can anyone please advise why on NAGIOS server we see from time to time so many "ndo2db processes" running, like 12 processes.
NAGIOS looks fine and CPU as well.
Thanks,
Nabi
Re: So many ndo2db processes
Posted: Fri May 17, 2019 8:46 am
by scottwilkerson
On a system with a lot of hosts/services this could be expected, as long as they all stem from the same parent process it would not be an issue.
Re: So many ndo2db processes
Posted: Mon May 20, 2019 6:24 am
by Nabi
Thanks,
Then i expect in the example below there is an issue:
cec:/home/nh# service ndo2db status
ndo2db (pid 27703) is running...
cec:/home/nh# ps -ef | grep -i ndo2db | grep -iv grep
nagios 10386 1 0 May17 ? 00:00:34 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 24718 27703 0 May17 ? 00:28:09 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 24721 24718 4 May17 ? 02:33:27 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 26274 1 0 May17 ? 00:15:31 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 27703 1 0 May17 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
Re: So many ndo2db processes
Posted: Mon May 20, 2019 7:16 am
by scottwilkerson
This is not normal, you have 3 parent processes
Lets stop ndo2db and then run
Code: Select all
service ndo2db stop
killall -9 ndo2db
service ndo2db start
Re: So many ndo2db processes
Posted: Thu May 23, 2019 2:49 am
by Nabi
Thanks,
I figured out that the issue seems to be caused by high load on the server, so it seems when it has high load then more parent processes of ndo2db are running. So i need to fix the load issue first .
Thanks again
Re: So many ndo2db processes
Posted: Thu May 23, 2019 6:42 am
by scottwilkerson
Nabi wrote:Thanks,
I figured out that the issue seems to be caused by high load on the server, so it seems when it has high load then more parent processes of ndo2db are running. So i need to fix the load issue first .
Thanks again
Sounds like a good plan