Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only reduce the consensus db size based on flags values #8321

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

mh0lt
Copy link
Contributor

@mh0lt mh0lt commented Sep 28, 2023

This is to fix an issue with resource usage if the db.size.limit is increased from its default setting of 2TB. This is applied to the chain DB, but should not be used on the consensus DB which has smaller data requirements. Expanding both DBs results in excessive RAM being reserved by the underlying OS.

@mh0lt mh0lt merged commit 9dfc8e0 into devel Sep 28, 2023
4 checks passed
@mh0lt mh0lt deleted the dont_grow_consensusdb_from_flags branch September 28, 2023 18:25
yperbasis pushed a commit that referenced this pull request Sep 29, 2023
This is to fix an issue with resource usage if the db.size.limit is
increased from its default setting of 2TB. This is applied to the chain
DB, but should not be used on the consensus DB which has smaller data
requirements. Expanding both DBs results in excessive RAM being reserved
by the underlying OS.
yperbasis added a commit that referenced this pull request Sep 29, 2023
This is to fix an issue with resource usage if the db.size.limit is
increased from its default setting of 2TB. This is applied to the chain
DB, but should not be used on the consensus DB which has smaller data
requirements. Expanding both DBs results in excessive RAM being reserved
by the underlying OS.

---------

Co-authored-by: Mark Holt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant