Nagios and threads

Daniel Eischen deischen at freebsd.org
Tue Jun 21 14:43:58 GMT 2005


On Tue, 21 Jun 2005, Michal Mertl wrote:

> Dag-Erling Sm=F8rgrav wrote:
> > Charles Sprickman <spork at fasttrackmonkey.com> writes:
> > > 1. FreeBSD and threads. On FreeBSD there's a native user-level
> > > implementation of threads called 'pthread' and there's also an
> > > optional ports collection 'linuxthreads' that uses kernel hooks.
> >
> > This is only the case for FreeBSD 4.  FreeBSD 5 has native threads.
>
> Yes, the description on Nagios page is not precise but unfortunately
> Nagios still has some problems even on 5.4. I wasn't able to find out
> what was wrong and the problem dissappeared when I had to replace the
> computer with single-processor one. The symptoms I observed were that
> every several days one Nagios process was consuming all the CPU doing
> hundreds of thousands of syscalls per second. It got always stuck around
> the time when the the daily cron job run.
>
> I did a ktrace on the stuck process and tried to abort it to have the
> core but I've lost the ktrace output and it never saved the core :-(.
>
> I'll install it on another machine and try to diagnose the problem some
> more.

You gotta try it on -stable.

--=20
DE



More information about the freebsd-hackers mailing list