gce/High Vm Memory Utilization

Diagnoses high memory utilization issues in a Compute Engine VM.

Product: Compute Engine
Step Type: AUTOMATED STEP

Description

This step evaluates memory usage through available monitoring data or, as a fallback, scans serial logs for Out of Memory (OOM) indicators. It distinguishes between VMs which has exported metrics and those without, and employs a different strategy for ‘e2’ machine types to accurately assess memory utilization.

Failure Reason

Memory utilization on this VM has reached levels that may compromise its VM application performance.

Failure Remediation

Elevated memory usage can result in slow, unresponsive, or terminated applications. Enhance the VM’s memory capacity by changing to a machine type with more memory.

Consult the following documentation for guidance:

Additionally, analyze Compute Engine observability metrics to pinpoint high-usage processes: https://cloud.google.com/compute/docs/instances/observe-monitor-vms#memory_utilization

If SSH is unavailable, connect via the serial console to mitigate the issue: https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console

Success Reason

Memory utilization on this VM is within optimal range.

Skipped Reason

Serial logs are not available for examination.