AI Assistant for Threat Defense Platform CPU usage is high or very high
search cancel

AI Assistant for Threat Defense Platform CPU usage is high or very high

book

Article ID: 421728

calendar_today

Updated On:

Products

VMware vDefend Firewall with Advanced Threat Prevention

Issue/Introduction

You are running SSP 5.2 and later.

You are seeing alarms with any of the following description

The CPU usage of AI Assistant for Threat Defense Platform {service-name }/{ pod } is currently { value }%, which is above the threshold value.

e.g

The CPU usage of AI Assistant for Threat Defense Platform {service-name }/{ pod } is currently 93%, which is above the threshold value.

The {service-name} can be any of the following

  • cypress-chatbot

  • cypress-chatbot-worker

  • cypress-remediator

  • cypress-ui

  • cypress-postgresql-ha-pg

  • cypress-retention-worker

  • cypress-bundle-downloader

The { pod } is dynamic and will be prefixed by the service name i.e. <service-name>-xxxxxxxxxx-xxxxx

The { value } will be dynamic and will represent the current memory usage of the { pod }

If the alarm stays open for more than 30 minutes or if its occurring multiple times, please proceed to the Resolution section

Environment

vDefend SSP >= 5.2

Cause

The current CPU limits for {service-name} is not enough to process the current load.

 

Resolution

High CPU usage should be temporary and may restore on its own. Try re-starting the deployment/statefulset. This should take care of any transient issues

  1. Log into SSPI root shell.

  2. Get the pod name for the {{ .ResourceID }} , using 'k -n nsxi-platform get pods | grep {{ .ResourceID }}'

k -n nsxi-platform get pod <pod-name> -o jsonpath='{.metadata.ownerReferences[0].kind}'
  1. If the output is StatefulSet, follow the StatefulSet restart steps.

  2. If the output is ReplicaSet, it belongs to a Deployment

  3. If {{ .ResourceID }} is statefulset run:

k -n nsxi-platform rollout restart statefulset {{ .ResourceID }} 
  1. Otherwise, run:

k -n nsxi-platform rollout restart deployment {{ .ResourceID }} 
  1. Wait for ~20 minutes and check if the alarm is auto-resolved. (k -n nsxi-platform get pods to check restarted pod are up)

  2. If the alarm persists, please open a ticket with Broadcom Support.