solana-labs/solana

validator uses more memory than expected when metrics are enabled

Open

#24,319 opened on Apr 13, 2022

View on GitHub
 (26 comments) (0 reactions) (1 assignee)Rust (3,950 forks)batch import
do-not-closegood first issue

Repository metrics

Stars
 (12,651 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Problem

80GB difference between RUST_LOG=solana=info and RUST_LOG=solana=warn for RPC nodes.

Proposed Solution

Relevant question.. is the channel that the metrics are sending to really large? Could there be some large amount of outstanding sends which each is taking some memory and state?

Debug and find why. Possibly reduce the occurrence of spammy metrics.

Contributor guide