Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

add map size setter #1050

Merged
merged 1 commit into from
Jul 17, 2023
Merged

add map size setter #1050

merged 1 commit into from
Jul 17, 2023

Conversation

mh0lt
Copy link
Collaborator

@mh0lt mh0lt commented Jul 14, 2023

Add a bound the txpool db, rather than leaving it as the default of 2TB. This is to reduce the page file profile when running multiple nodes from around 3.5GB per txpool instance.

The current pool map side is set to 512MB - which seems reasonable with 16MB increments

@AlexeyAkhunov AlexeyAkhunov marked this pull request as ready for review July 14, 2023 10:06
@AlexeyAkhunov AlexeyAkhunov added this pull request to the merge queue Jul 17, 2023
Merged via the queue into main with commit 32df191 Jul 17, 2023
3 checks passed
@AlexeyAkhunov AlexeyAkhunov deleted the add_tx_pool_map_size branch July 17, 2023 19:49
AlexeyAkhunov added a commit that referenced this pull request Jul 21, 2023
github-merge-queue bot pushed a commit that referenced this pull request Jul 22, 2023
Reverts #1050

It causes the error:

`EROR[07-21|21:45:02.806] [txpool] flush is local history err="table:
PoolTransaction, err: mdbx_cursor_put: MDBX_MAP_FULL: Environment
mapsize limit reached"
`
AskAlexSharov pushed a commit that referenced this pull request Sep 6, 2023
Add a bound the txpool db, rather than leaving it as the default of 2TB.
This is to reduce the page file profile when running multiple nodes from
around 3.5GB per txpool instance.

The current pool map side is set to 512MB - which seems reasonable with
16MB increments
AskAlexSharov pushed a commit that referenced this pull request Sep 6, 2023
Reverts #1050

It causes the error:

`EROR[07-21|21:45:02.806] [txpool] flush is local history err="table:
PoolTransaction, err: mdbx_cursor_put: MDBX_MAP_FULL: Environment
mapsize limit reached"
`
blxdyx pushed a commit to blxdyx/bsc-erigon-lib that referenced this pull request Sep 11, 2023
Add a bound the txpool db, rather than leaving it as the default of 2TB.
This is to reduce the page file profile when running multiple nodes from
around 3.5GB per txpool instance.

The current pool map side is set to 512MB - which seems reasonable with
16MB increments
blxdyx pushed a commit to blxdyx/bsc-erigon-lib that referenced this pull request Sep 11, 2023
Reverts ledgerwatch#1050

It causes the error:

`EROR[07-21|21:45:02.806] [txpool] flush is local history err="table:
PoolTransaction, err: mdbx_cursor_put: MDBX_MAP_FULL: Environment
mapsize limit reached"
`
blxdyx pushed a commit to blxdyx/bsc-erigon-lib that referenced this pull request Sep 13, 2023
Add a bound the txpool db, rather than leaving it as the default of 2TB.
This is to reduce the page file profile when running multiple nodes from
around 3.5GB per txpool instance.

The current pool map side is set to 512MB - which seems reasonable with
16MB increments
blxdyx pushed a commit to blxdyx/bsc-erigon-lib that referenced this pull request Sep 13, 2023
Reverts ledgerwatch#1050

It causes the error:

`EROR[07-21|21:45:02.806] [txpool] flush is local history err="table:
PoolTransaction, err: mdbx_cursor_put: MDBX_MAP_FULL: Environment
mapsize limit reached"
`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants