Decreased size of mempool causes higher incoming traffic and node overload #7973

issue johnjacksonbtc opened this issue on April 29, 2016
  1. johnjacksonbtc commented at 11:50 AM on April 29, 2016: none

    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.

  2. jonasschnelli added the label GUI on Apr 29, 2016
  3. MarcoFalke added the label Resource usage on Apr 29, 2016
  4. 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_main locks per seconds or any other reason why small mempools could result in more freezes?

  5. 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?

  6. 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.

  7. hebasto commented at 9:04 AM on October 3, 2021: member

    Is this still an issue?

  8. MarcoFalke removed the label GUI on Oct 4, 2021
  9. MarcoFalke added the label GUI on Oct 4, 2021
  10. MarcoFalke added the label P2P on Oct 4, 2021
  11. MarcoFalke commented at 8:46 AM on October 4, 2021: member

    Closing for now. Let us know if this still happens.

  12. MarcoFalke closed this on Oct 4, 2021

  13. DrahtBot locked this on Oct 30, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me