status-go
status-go copied to clipboard
Discovery v5 is using in-memory leveldb which leads to unbounded memory growth on our nodes
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.
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.