Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
Security Level: Public
-
None
-
CBG Sprint 13, CBG Sprint 14, CBG Sprint 15
-
3
Description
Anecdotally, I've never seen these run successfully as it's generally not the norm to have go installed directly on prod deployments.
$ cat heap.*
|
==============================================================================
|
Running go tool pprof -- which can take several seconds: heap format: dot
|
go tool pprof -dot -seconds=5 "/opt/couchbase-sync-gateway/bin/sync_gateway" http://127.0.0.1:4985/_debug/pprof/heap
|
==============================================================================
|
/bin/sh: go: command not found
|
==============================================================================
|
Running go tool pprof -- which can take several seconds: heap format: pdf
|
go tool pprof -pdf -seconds=5 "/opt/couchbase-sync-gateway/bin/sync_gateway" http://127.0.0.1:4985/_debug/pprof/heap
|
==============================================================================
|
/bin/sh: go: command not found
|
==============================================================================
|
Running go tool pprof -- which can take several seconds: heap format: raw
|
go tool pprof -raw -seconds=5 "/opt/couchbase-sync-gateway/bin/sync_gateway" http://127.0.0.1:4985/_debug/pprof/heap
|
==============================================================================
|
/bin/sh: go: command not found
|
==============================================================================
|
Running go tool pprof -- which can take several seconds: heap format: text
|
go tool pprof -text -seconds=5 "/opt/couchbase-sync-gateway/bin/sync_gateway" http://127.0.0.1:4985/_debug/pprof/heap
|
==============================================================================
|
/bin/sh: go: command not found
|
There's also the matter of duplication - rather than outputting multiple formats, we can just generate what's needed after the fact.