Problem becomes apparent when -maxmempool is decreased below 100 and problematic at 32. Sometimes incoming traffic is constantly around 100 KB/s randomly between one hour and ten minutes and GUI is lagging. Then lag stops and incoming traffic drops strongly below 100 KB/s line to about 10-20 KB/s. Node is fully synced (there are short bursts of incoming traffic above 100 KB/s), other settings are unchanged. Bitcoin Core 0.12.1 Windows version is used.
Edit: There are less lags when -maxmempool is left to default 300.
Decreased size of mempool causes higher incoming traffic and node overload #7973
issue johnjacksonbtc opened this issue on April 29, 2016-
johnjacksonbtc commented at 11:50 AM on April 29, 2016: none
- jonasschnelli added the label GUI on Apr 29, 2016
- MarcoFalke added the label Resource usage on Apr 29, 2016
-
jonasschnelli commented at 9:01 AM on June 21, 2016: contributor
@TheBlueMatt (or others): If the mempool is relatively small (let's assume 10MB), are there more
cs_mainlocks per seconds or any other reason why small mempools could result in more freezes? -
rebroad commented at 12:59 PM on August 26, 2016: contributor
Why is the mempool defaulting to 300MB? How was this figure arrived at? Assuming blocks are 1MB each, is 300MB allowing for txs that might make it into the next 300 blocks?
-
sipa commented at 1:05 PM on August 26, 2016: member
@rebroad 300 MB of memory usage; it corresponds to approximately 150 MB worth of actual block data (CTxMemPoolEntry uses much more memory than just the serialized transaction), or one day worth of blocks. Given a daily peak and trough of transaction volume, this is the minimum needed to get low-fee transaction in with some chance within a day.
-
hebasto commented at 9:04 AM on October 3, 2021: member
Is this still an issue?
- MarcoFalke removed the label GUI on Oct 4, 2021
- MarcoFalke added the label GUI on Oct 4, 2021
- MarcoFalke added the label P2P on Oct 4, 2021
-
MarcoFalke commented at 8:46 AM on October 4, 2021: member
Closing for now. Let us know if this still happens.
- MarcoFalke closed this on Oct 4, 2021
- DrahtBot locked this on Oct 30, 2022