Skip to content

Enable pprof profiling for memory analysis #898

@Rishita-Golla

Description

@Rishita-Golla

We need to add support for pprof profiling within the CSI driver. This will enable developers and SREs to capture runtime profiling data, particularly heap dumps, to diagnose and resolve memory-related issues.

Problem:

Customers are encountering memory issues such as OOMs related to the CSI driver. Currently, there's no easy way to inspect the driver's internal memory state under load. With pprof, when the memory issue is suspected, they can collect heap dumps and also analyze the profiles using pprof tools to identify memory allocation patterns, and potential leaks.

Current Mitigation:

The current workaround for related issues is to implement webhook mitigation. But adding pprof support will allow for proper root cause analysis.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions