Page 1 of 1
ERROR: Cannot update /var/lib/mrtg/ ... could not lock RRD
Posted: Mon Jul 22, 2019 7:50 am
by DFaught
This server has been running fine with no recent changes to my knowledge, but now it is getting lots of these errors in the mrtg.log. Everything is green on the System Status page, leading me to think that the system is fine, but apparently a lot of the MRTG-collected data is not being stored.
A system profile is attached.
Re: ERROR: Cannot update /var/lib/mrtg/ ... could not lock R
Posted: Mon Jul 22, 2019 10:47 am
by DFaught
It looks like a contributing factor might be the fact that some of the MRTG tasks launched at the cron interval are running into the next interval. This doesn't happen all the time.
Re: ERROR: Cannot update /var/lib/mrtg/ ... could not lock R
Posted: Mon Jul 22, 2019 2:14 pm
by ssax
It looks like a contributing factor might be the fact that some of the MRTG tasks launched at the cron interval are running into the next interval. This doesn't happen all the time.
That's likely the ONLY issue as the other MRTG process has it locked.
Please follow this guide to increase your forks to get that to not occur, specifically the "MRTG Running Longer Than Five Minutes" section:
Code: Select all
https://support.nagios.com/kb/article.php?id=29