<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Write contention workaround in 1.1 forbroken aggregate_status</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">I've found a work-around to the write-contention problems that I was having with 1.1</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I've disabled aggregate_status  (in nagios.conf, setting it to 0).</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">It seems that there is a bug in this function, that causes write contention and significantly slows down the system (and even may cause deadlock) - Something about the aggregator seems to be broken (I haven't gotten to peruse the code yet, but there is certainly some issue)</FONT></P>

<P><FONT SIZE=2 FACE="Arial">In order to keep my filesystem (ext3) humming along fast enough to keep up with the non-aggregated updates, I now mount it with "noatime" so that there is less work for the filesystem to do.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Now my "nagios-owned" process queue ( ps auxww | grep nagios | wc -l) hovers between 4-20 as opposed to being in the 200-500 range and my nagios-schedule is only minutes behind (as opposed to hours).</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Anyone else have similar experiences?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">/<</FONT>
</P>

</BODY>
</HTML>