NagiosEnterprises/ndoutils

ndo2db doesn't fork more than 2 process

ranjithkodumbu opened this issue · 7 comments

Hello Team,

I am facing the issue with ndo2db processing, it doesn't write fast enough. I am currently running 222000 monitoring services, and it creates huge backlog. Looks like ndo2db doesn't fork more than 2 process. If we can increase the process dynamically that will clear huge backlog. Something like mod-gearman does, where in we can increase number of workers according to the load of the monitoring service.

It would be great help if you can look into this.

I would appreciate your efforts that team have contributed for developing such a great application.

Thanks,
Ranjith Kumar R

This is actually a great idea. I'm going to assign it to myself with an enhancement label and review the work that would need to be done, and then I'll assign a milestone once we have that figured out.

I am curious about the progress, could you please update me the status.

Sorry it's been so long on an update @ranjithkodumbu . I actually got a prototype working for this back in March or so. I'm likely going to work on getting a 2.1.4 bugfix release out, and then start integrating the prototype into ndo3. NDO3 (and subsequent bugfix releases) will likely be the last major release of NDO (as we plan on incorporating it directly into Core5). But NDO3 should have enough performance improvements (because of the true multithreading we'll be bringing) to keep people who don't want to upgrade to Core5 happy for a long while.

We actually went a different direction with this, and now there is no forking at all (checkout ndo-3 branch). If you're interested in helping us with testing, please let me know so we can facilitate that. Thanks!

Sorry hedenface, I couldn't find ndo-3 branch. Could you please publish it.