status-go icon indicating copy to clipboard operation
status-go copied to clipboard

Discovery v5 is using in-memory leveldb which leads to unbounded memory growth on our nodes

Open dshulyak opened this issue 5 years ago • 1 comments

Problem

Discovery v5 provides an option to specify path for leveldb database. But, devp2p server doesn't expose any option to set that path and always starts discovery with an empty string, e.g. "use in-memory db".

Implementation

Add configuration option to specify directory for discovery v5. That requires adding an option to ethereum server (and patching our fork to fix this issue earlier)

Acceptance Criteria

Both app and statusd binary aren't using in memory database.

dshulyak avatar Jun 19 '19 13:06 dshulyak

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

status-github-bot[bot] avatar Aug 05 '21 16:08 status-github-bot[bot]