Skip to content

Tool to analyse goroutine dump #3

@bboreham

Description

@bboreham

The goroutine dump from http://xxx/debug/pprof/goroutine?debug=2 can tell you a lot, but often only after much laborious analysis.

This tool could provide:

  • a break-down of how many goroutines are in runnable, select, chan wait, etc., states.
  • grouping together many similar goroutines, to allow focus on the outliers. E.g. blocked in select state in net/http.(*persistConn).writeLoop()
  • identifying classes of wait times - all goroutines blocked for 1 minute, 5 minutes, 8384 minutes.

Rich detail here on the different data sources - the binary format dump does not contain enough information to work from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions