Project

General

Profile

Actions

Feature #16120

open

[arvados-server] Add profiling flag to service components

Added by Tom Clegg almost 5 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
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

Actions #1

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 #2

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #3

Updated by Peter Amstutz 9 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF