[Bug]: Docker container rapidly fills log file with apcaccess error #12413
Labels
area/collectors
Everything related to data collection
bug
collectors/charts.d
priority/high
Super important issue
Bug description
I auto-update my Docker containers daily. This morning my Netdata container started rapidly filling my filesystem until it was full (approximately 600GB of data). After some investigation, a temporary file has been created that contains millions of lines of "charts.d: : apcupsd: command 'apcaccess status 127.0.0.1:3551 ' failed with code 1". This file is created every time the container is restarted, and once it gets going will accumulate on a SSD at a rate of approximately 3GB per minute or so.
Issue #12346 feels related given the timing, perhaps one of the changes has introduced the bug?
Expected behavior
The log file output should be capped/ratelimited, otherwise this issue could occur again with other faults.
To resolve this issue, probably a delay should be present before attempting to reconnect to apcupsd, and if the command has never succeeded possibly a cancellation of the check?
Steps to reproduce
Installation method
docker
System info
Netdata build info
Additional info
Issue also being followed at https://forums.unraid.net/topic/47828-support-data-monkey-netdata/page/13/
The text was updated successfully, but these errors were encountered: