[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-devel
Subject:    Re: [Nagios-devel] max_concurrent_checks=0 not working on 3.2.1
From:       Andreas Ericsson <ae () op5 ! se>
Date:       2010-05-05 9:36:29
Message-ID: 4BE13C1D.9010503 () op5 ! se
[Download RAW message or body]

On 05/05/2010 12:23 AM, Alessandro Ren wrote:
> 
>> Well, initial tests show that it's not a problem to fire off 500 checks
>> at once with the multiplexing proof-of-concept code I have sitting on my
>> harddrive. The idea is that the scheduler will just throw out checks as
>> and when they're needed and the workers will just spawn and reap them
>> as fast as possible. With the workers doing nothing but that they can
>> saturate the CPU fairly well, and if more workers are needed it's easy
>> enough to spawn one (or more).
>>
>> The only thing I'm worried about is that it'll now be possible to hog
>> 100% cpu on a system running Nagios. Some smarts will have to be added
>> to take care of that scenario.
>>
>>
> 
>       Will you release this code for testing? I īd be willing to try it
> down here.
> 

I'll add it to our git repository once I've integrated it into Nagios.
For now it's just a simple stand-alone program that spawns and reaps
2000 small checks as fast as it can. You should be able to get it from
git://git.op5.org/nagios.git if you checkout the dev branch (once it's
in, ofcourse).

It's worth trying already though. There's lots of bugfixes and code
cleanups in there now.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic