Skip to content

Zombie Goroutine Leak Detection #44

@iyashjayesh

Description

@iyashjayesh

Description:
Goroutine leaks are a common performance hurdle in Go applications. I propose adding specialized tools to MoniGo to help identify and alert on "zombie" or stale goroutines.

Proposed Solution:

  • Stale Routine Alerts: Automatically flag goroutines that have been active for an unusually long duration (e.g., configurable threshold like 24h+).
  • Stack Trace Diffing: Add a feature to the dashboard to compare goroutine stack snapshots over time to see which routines are growing and not exiting.
  • Visual Health Indicators: Add a "Leak Warning" status to the Goroutine inspection page when a suspicious growth pattern is detected.

Benefits:

  • Proactive Debugging: Catch memory leaks before they lead to OOM (Out Of Memory) crashes.
  • Root Cause Analysis: Stack diffing makes it much easier to see exactly where a leaked goroutine was started.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions