<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>service-perfdata keeps growing</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello everybody,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have a problem with the file that stores the performance data (usually 'service-perf'). Despite the fact that I choosed to hourly rotate the logs (nagios.cfg), this one tends to keep growing indefinitely. When I  try to truncate it (with '> service-perfdata' or 'cat /dev/null' or 'dd if=/dev/zero of=service-perfdata count=1' for example) the file is zeroed but only momentarily, because nagios keeps the file opened (fuser service-perfdata corroborates this), and therefore the size of the file grows as if nothing has happened.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Does anyone have a clue for how to solve this? Is this the right place to ask for this kind of help?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>
<BR>

<P><B><FONT COLOR="#808080" FACE="Book Antiqua">R</FONT><FONT COLOR="#008000" SIZE=2 FACE="Arial">ui Manuel Fragoso</FONT></B><FONT COLOR="#800080" SIZE=2 FACE="Verdana"> |</FONT><U></U><U> <FONT COLOR="#808080" SIZE=2 FACE="Verdana">rfragoso@gmail.com</FONT></U>
</P>
<BR>

</BODY>
</HTML>