So many ndo2db processes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Nabi
Posts: 18
Joined: Thu Apr 12, 2018 7:13 am

So many ndo2db processes

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: So many ndo2db processes

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Nabi
Posts: 18
Joined: Thu Apr 12, 2018 7:13 am

Re: So many ndo2db processes

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: So many ndo2db processes

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Nabi
Posts: 18
Joined: Thu Apr 12, 2018 7:13 am

Re: So many ndo2db processes

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: So many ndo2db processes

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked