On Wed, 21 Aug 2013, Denis Simonet wrote:

> We have a similar issue. When reloading Icinga often (400 hosts, 2000
> services, many nrpe or passive) it sometimes starts to think that the
> services are unavailable. It takes a few minutes until all is back to
> normal.
>
> Some hints would be very useful. We use Icinga 1.7.0 (Debian), idoutils,
> nrpe and nsca.

    The reason for the stalled scheduler is the use of IDOutils at an
older version.  During the period in which the database state is being
rebuilt the event-broker blocks the main event loop from starting;
this, in turn, causes the delays you're seeing.  The problem gets much
worse as the number of hosts and services increases.

    The new version (1.9.3 as of this writing) uses an IDO interface
with a FIFO to buffer the configuration when it's being written to
the database and thereby allows the main scheduling loop to start
more quickly.  (Note that this has ramifications if you're using
Icinga Web; Web may go temporarily wonky while the database gets
rewritten while the CGI-based interface may look sane.)

    The sad answer here is to either upgrade to the new version or to
better schedule when/why restarts are allowed.

    Cheers!

+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:crfri...@rcn.com                        +---------------------+
| http://users.rcn.com/crfriend/museum           | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to