The ramdisk is configured for 100MB
df shows it as full
Code: Select all
tmpfs 100M 100M 0 100% /var/nagiosramdiskwhen I check the ramdisk , only a few files where in the file system.
lsof revealed that I had a couple of deleted files that were still open. The two files add up to the 100MB - not sure why they are so large. Normally the ramdisk sits at around 11MB used with 89MB free
Code: Select all
# lsof | grep deleted | grep nagiosramdisk
nagios 17129 nagios 14w REG 0,17 13864348 261619983 /var/nagiosramdisk/spool/perfdata/1449446259.perfdata.host-PID-18981 (deleted)
nagios 17129 nagios 15w REG 0,17 86723351 261625465 /var/nagiosramdisk/spool/perfdata/1449446259.perfdata.service-PID-18982 (deleted)
ps -ef | grep 17129
nagios 17129 17117 0 09:57 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfgThe perfdata log file showed the following errors
Code: Select all
tail /usr/local/nagios/var/perfdata.log
2015-12-07 09:57:50 [18981] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2015-12-07 09:57:50 [18981] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-07 09:57:50 [18981] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2015-12-07 09:57:50 [18981] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1449446259.perfdata.host-PID-18981 deleted
2015-12-07 09:57:50 [18981] [0] *** process_perfdata.pl terminated on signal ALRM
2015-12-07 09:57:50 [18982] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2015-12-07 09:57:50 [18982] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-12-07 09:57:50 [18982] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2015-12-07 09:57:50 [18982] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1449446259.perfdata.service-PID-18982 deleted
2015-12-07 09:57:50 [18982] [0] *** process_perfdata.pl terminated on signal ALRMLoad average is usually < 1 so there is no problem with perfdata files being moved out.
Is there anything else I need to check to resolve this problem ?
thanks... Fred