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

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

book

Article ID: 421730

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 memory usage of AI Assistant for Threat Defense {service-name }/{ pod } is currently { value }%, which is above the threshold value.

Example:

The memory usage of AI Assistant for Threat Defense {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 memory limits for {service-name} is not enough to process the current load.

Resolution

Steps to resolve:

Try re-starting the deployment/statefulset. This should take care of any transient issues

  1. Log into SSPI shell using sysadmin credentials.

  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. Check AI Assistant disk usage, memory usage, CPU usage alarms.

  3. If none of the above is applicable, please open a ticket with Broadcom Support.