Actions
Feature #16120
open[arvados-server] Add profiling flag to service components
Story points:
-
Release:
Release relationship:
Auto
Description
All Go services should support profiling mode, in which go tool pprof -top $host:$port/debug/pprof/heap
snapshots/displays the process's current memory usage.
This will make it much easier to investigate memory and performance issues (e.g., there might be easy ways to make keep-balance use less memory).
Profiling should be enabled with environment variable (this is easy to set with systemctl edit
), so
ARVADOS_PPROF=:6060 keepstore
will cause keepstore to serve profile data on port 6060.
Example (but implemented as a command line flag) in arvados-client mount
: 315e9b521f97a408e3bc079d6f7e5f110cbf70a9
Updated by Tom Clegg almost 5 years ago
- Subject changed from [arvados-server] Add -pprof flag to service components to [arvados-server] Add profiling flag to service components
Actions