Bug ID 939913: Empty/0-length rrd file is not properly recreated and remains

Last Modified: Aug 03, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2, 16.1.0

Opened: Aug 25, 2020
Severity: 4-Minor

Symptoms

The BIG-IP's Round Robin Database (RRD) statistics file can be unexpectedly truncated. If this occurs, the file remains empty, impacting statistical functionality dependent on it.

Impact

Statistical functionality is impacted and /var/log/ltm will display messages similar to the following: Dec 10 08:41:40 bigip1 err statsd[12892]: 011b0600:3: Error '-1' during rrd_update for rrd file '/var/rrd/access' Dec 10 08:41:50 bigip1 err statsd[12892]: 011b0600:3: Error 'mmaping file '/var/rrd/access': Invalid argument' during rrd_update for rrd file '/var/rrd/access'

Conditions

/shared/rrd.1.2/access (symlinked as /var/rrd/access) size/length becomes 0 (empty).

Workaround

1. ls -l /shared/rrd.1.2*/access 2. Note which files have a length of 0 and their path 3. bigstart stop statsd 4. Delete each of the access files which has a length of 0. Example: rm /shared/rrd.1.2/access 5. bigstart start statsd 6. Confirm log messages are no longer present in /var/log/ltm and statistical functionality is now working as expected.

Fix Information

None

Behavior Change