Bug ID 605476: statsd can core when reading corrupt stats files.

Last Modified: Nov 07, 2022

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
11.0.0, 11.1.0, 11.2.0, 11.2.1, 11.3.0, 11.4.0, 11.4.1, 11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF10, 11.5.1 HF11, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.10, 11.5.2, 11.5.2 HF1, 11.5.3, 11.5.3 HF1, 11.5.3 HF2, 11.5.4, 11.5.4 HF1, 11.5.4 HF2, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5, 11.6.0 HF6, 11.6.0 HF7, 11.6.0 HF8, 11.6.1, 11.6.1 HF1, 12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2

Fixed In:
12.1.2, 11.6.1 HF2, 11.5.4 HF3

Opened: Jul 18, 2016

Severity: 2-Critical

Related Article: K85083701

Symptoms

-- The istatsd process produces a core file in the /shared/core directory.

Impact

iStatsd process will restart due to resource exhaustion.

Conditions

This issue occurs when the following condition is met: The istatsd process attempts to read a corrupt iStats segment file with duplicate FIDs. Under these conditions, the istatsd process continually consumes memory which produces a core causing the istatsd process to restart.

Workaround

To work around this issue, you can remove the iStats files and restart the istatsd processes. To do so, perform the following procedure: Impact of workaround: This workaround will cause all statistics in the iStats files to reset. 1. Log in to the BIG-IP command line. 2. To stop the istatsd and related processes, type the following command: tmsh stop sys service istatsd avrd merged. 3. To delete the iStats files, type the following command: find /var/tmstat2/ -depth -type f -delete. 4. To start the istatsd and related processes, type the following command: tmsh start sys service istatsd avrd merged.

Fix Information

Added a fix to protect against a continually reading a segment file that is corrupted and has Duplicate Fids.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips