Skip to content

Memory leak:- ark-forger process.  #2326

@samharperpittam

Description

@samharperpittam

Describe the bug
Multiple users have reported that the ark-forger process shows signs of a memory leak. A delegate's ark-forger was using 1.4GB of memory upon checking as shown below...

ark@gnia:~$ pm2 status
┌────────────┬────┬──────┬────────┬───┬───────┬────────────┐
│ Name │ id │ mode │ status │ ↺ │ cpu │ memory │
├────────────┼────┼──────┼────────┼───┼───────┼────────────┤
│ ark-forger │ 2 │ fork │ online │ 0 │ 3% │ 1.4 GB │
│ ark-relay │ 1 │ fork │ online │ 0 │ 14.9% │ 374.1 MB │
└────────────┴────┴──────┴────────┴───┴───────┴────────────

To Reproduce
Steps to reproduce the behavior:

  1. Start ark-forger process
  2. Let the process run for weeks/months without restart

Expected behavior
For the ark-forger process to be using significantly less than 1.4GB of memory.

Screenshots

Server (please complete the following information):

  • OS: Ubuntu
  • Version: 18:04
    However, this issue has been reported by multiple users with various versions of operating system& system specs.

Additional context

Delegate alessio // fun has created a patch file for this issue which he will send to me. Once received, I shall forward it to the dev team for review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions