Page 1 of 1

Re: [Nagios-devel] Threaded reaper patch

Posted: Tue Aug 09, 2011 6:13 pm
by Guest
--20cf3005143e436be604aa175a2c
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Aug 5, 2011 at 4:32 AM, Adam James wrote:

> Hello,
>
> On Thu, 4 Aug 2011 15:05:19 -0600
> Adam Augustine wrote:
>
> > Did Andreas Ericson's threaded reaper patch (
> > http://blogs.op5.com/eventblocking-madn ... sstesting/)
> > make it into 3.3.1?
> >
> > I think, but do not know, that we are seeing some significant latency
> > related to the amount of time spent reaping, and I think this would
> > help significantly.
>
> I'm unsure if you're confused or just posted to the wrong list, but the
> patch you are referring to is specific to the merlin broker module not
> nagios core.
>
> If you are running a distributed setup using merlin, the first
> version I can see containing the threaded reaper code is 0.9.0. If not,
> the latency you're experiencing is due to a different problem.
>
> Regards,
>
> Adam
>
> --
> T: 0203 384 7207
> E: [email protected]
> W: http://www.transitiv.co.uk/
>
>
Yes, I was confused, and mis-read the first sentence of the third paragraph
of the blog posting as creating a reaper thread for Nagios.

But in spite of that, it seems that moving the reaper code into a thread
would be generically useful for Nagios. I know it has been discussed on this
list in the past.

If the Merlin reaper thread is wholly contained within the Merlin NEB (as it
appears to be) and is not in any way patching the Nagios core code, then my
question is, how is that working without conflicting with the main event
loop reaper code? My quick glance at the NEB callbacks for
EVENT_CHECK_REAPER seems to indicate that there isn't any
NEBERROR_CALLBACKOVERRIDE associated with it. So I am very curious how it is
being handled.

--20cf3005143e436be604aa175a2c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 5, 2011 at 4:32 AM, Adam Jam=
es <adam=
.[email protected]> wrote:
Hello,

On Thu, 4 Aug 2011 15:05:19 -0600
Adam Augustine <augustineas@gma=
il.com> wrote:

> Did Andreas Ericson's threaded reaper patch (
> http://blogs.op5.com/eventblocking-madness-and-m=
ore-stresstesting/)
> make it into 3.3.1?
>
> I think, but do not know, that we are seeing some significant latency
> related to the amount of time spent reaping, and I think this would
> help significantly.

I'm unsure if you're confused or just posted to the wro=
ng list, but the
patch you are referring to is specific to the merlin broker module not
nagios core.

If you are running a distributed setup using merlin, the first
version I can see containing the threaded reaper code is 0.9.0. If not,
the latency you're experiencing is due to a different problem.

Regards,

Adam

--
T: 0203 384 7207
E: [email protected]=

W: http://www.tra=
nsitiv.co.uk/
Yes, I was confused, and mis-read the first sente=
nce of the third paragraph of the blog posting as creating a reaper thread =
for Nagios.But in spite of that, it seems that moving the reaper co=
de into a thread would be generically useful for Nagios. I know it has been=
discussed on this list in the past.
If the Merlin reaper thread is wholly contained within the Merlin NEB (=
as it appears to b

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]