Skip to content

Memory leak in p2p #3306

@hendrikhofstadt

Description

@hendrikhofstadt

We have been observing memory usage increase over time (~1MB/min) on our sentries until they were OOM killed.

A heap profile shows that the p2p module seems to be leaking Peers with the recvBuffers of multiplex channels making up the largest amount of memory.

The following heap profile was taken from a normal node on the game_of_stakes_6 network based on v0.30.0-rc0.

image

Rel #3183 #2967 #2821

Metadata

Metadata

Assignees

Labels

C:p2pComponent: P2P pkgT:bugType Bug (Confirmed)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions