WCP Service (wcpsvc) Memory Leak and Health Alarms in vCenter Server 8.0
search cancel

WCP Service (wcpsvc) Memory Leak and Health Alarms in vCenter Server 8.0

book

Article ID: 450700

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service VMware vCenter Server 8.0

Issue/Introduction

  • A "WCP Service Health Alarm" is triggered in vCenter Server 8.0.
  • Memory usage for the wcp process within the vCenter Server Appliance increases over time, leading to memory exhaustion alarms.

Environment

vCenter Server 8.x

Cause

This issue is caused by a memory leak in the Workload Control Plane (wcp) service's internal client management (vmopClient) and a failure to properly close response bodies.
This leak occurs during service reconciliation loops, leading to a gradual accumulation of memory and file descriptors over time.

Resolution

This issue is scheduled to be resolved in future release.

you can reclaim the leaked memory by restarting the wcp service.

  1. Log in to the vCenter Server Appliance via SSH as root.
  2. Run the following command to restart the wcp service:
    service-control --restart wcp