Bug ID 818705: The daemon afm_cmi.py can cause high BIG-IP CPU utilization (>90%)

Last Modified: Oct 16, 2023

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

Known Affected Versions:
15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2

Fixed In:
16.1.0, 15.1.9

Opened: Aug 29, 2019

Severity: 3-Major

Symptoms

The AFM auto threshold and Behavioral DoS historical data synchronization process consumes greater than 90% CPU, this affects TMM performance and some outages can occur.

Impact

TMM performance is affected and outages can occur.

Conditions

This occurs in both High Availability (HA) and standalone configurations. In both cases "MCPD" issues were reported (delay in response or the daemon crashed).

Workaround

Terminate the AFM data synchronization process: kill -9 $(pgrep afm_cmi.py)

Fix Information

If the connection to MCP is not responsive, the script will attempt to reinitialize MCP connection every second until successful. The script will be blocked until MCP connection is established.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips