<tt><font size=2>Tony Johansson <tony.johansson@svenskakyrkan.se>
schrieb am 05.02.2010 19:39:47:<br>
<br>
> [pid 32731] write(6, "1265393559||AHS||C: Drive Space||c:\\ -
total: <br>
> 15.86 Gb - used: 7.60 Gb (48%) - free 8.26 Gb (52%)||c:\\ Used <br>
> Space=7.60Gb;14.27;15.54;0.00;15.86\n", 144) = -1 EFBIG (File
too large)<br>
> [pid 32731] --- SIGXFSZ (File size limit exceeded) @ 0 (0) ---<br>
> [pid 32732] +++ killed by SIGXFSZ +++<br>
> <br>
> "File size limit exceeded" seems to be the cause<br>
> Disk space is plenty:<br>
> df -h<br>
> Filesystem            Size  Used
Avail Use% Mounted on<br>
> /dev/mapper/VolGroup00-LogVol00<br>
>                    
  68G   28G   38G  43% /<br>
> /dev/sda1              99M  
30M   65M  32% /boot<br>
> tmpfs                 506M
    0  506M   0% /dev/shm<br>
> <br>
> Also, I did try renaming retention.dat, status.dat and moving files
out <br>
> of checkresults earlier with no result.<br>
> <br>
> Seems like /var/spool/nagios/perfdata.log is 2G while <br>
> /var/spool/nagios/perfdata.log is a mere 11K<br>
> I've tried renaming the file and started nagios which now seems to
run ok.<br>
> Looks like I need to set up log rotation or what is the best way to
<br>
> handle perfdata.log?<br>
</font></tt>
<br><tt><font size=2>2 GiB is the maximum filesize for an ext3 on x86_x64
platforms.</font></tt>
<br>
<br><tt><font size=2>There is no need for nagios to "handle"
the perfdata.log. Nagios</font></tt>
<br><tt><font size=2>only writes perfdata if you request it to do so. This
data is _only_</font></tt>
<br><tt><font size=2>interpreted by external tools, like pnp. They care
about truncating</font></tt>
<br><tt><font size=2>the perfdata once they parsed it. Since you obviously
don't use</font></tt>
<br><tt><font size=2>any perfdata tool - why do you write perfdata logs
at all? ;)</font></tt>
<br>
<br><tt><font size=2>S</font></tt>
<br>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">GFKL Financial Services AG</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorstand: Jürgen Baltes, Dr. Tom Haverkamp</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorsitzender des Aufsichtsrats: Wilhelm Plumpe</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>