Skip to content

Memory Leak on node versions below 18.17.0 #5851

@matthewkeil

Description

@matthewkeil

NOTE: There is a memory leak on Lodestar version 1.10 with node versions below 18.17.0.

Make sure to update node to a version >=18.17.0 or >=20.1.0. We recommend to install the latest release of node 20.


Describe the bug

Memory is growing unbounded on a number of groups.

Affected Groups

beta on version v1.10.0/mkeil/network-worker-new-space/d0f01f3 (recently rebased onto unstable, no leak prior)
feat1 on version v1.10.0/mkeil/network-worker-new-space/d0f01f3 (recently rebased onto unstable, no leak prior)
feat2 on version v1.9.2/tuyen/gossipsub_protons/893eff7
feat3 on version v1.10.0/bbadfed

Affected in nogroup

nogroup-ctvoss-2 on version v1.10.0/tuyen/v1.10.0_rc.1_no_ee/83f6ba7

Unaffected in nogroup

nogroup-ctvoss-0 on version v1.8.0/stable/a4b29cf
nogroup-ctvoss-1 on version v1.8.0/tuyen/PR_5559_5592/b2a3949
nogroup-ctvoss-3 on version v1.8.0/tuyen/PR_5574_5592/2101f95
nogroup-ctvoss-4 on version v1.8.0/a4b29cf
nogroup-hzax41-0 on version v1.8.0/tuyen/network_thread_profile/f245849

Unaffected Groups

unstable on version v1.10.0/a7466f5
stable on version v1.10.0/7546292
stress_test on v1.8.0/8464c6b
goerli on v1.10.0/7546292
lido-goerli on v1.10.0/7546292
sepolia on v1.10.0/7546292

Screenshot 2023-08-05 at 2 28 17 PM

Screenshot 2023-08-05 at 2 28 28 PM

Screenshot 2023-08-05 at 2 28 55 PM

Screenshot 2023-08-05 at 2 29 08 PM

Screenshot 2023-08-05 at 2 29 19 PM

Expected behavior

Memory should remain stable

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

somewhere post 1.9.2 or maybe 1.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta-bugIssues that identify a bug and require a fix.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions