0.4.0rc2 build for linux is creating over a hundred log files #515

issue oris opened this issue on September 14, 2011
  1. oris commented at 1:56 PM on September 14, 2011: none

    I've just built bitcoin-4.00rc2 on Ubuntu 10.04, and it's now downloading the blocks. I notice though that the .bitcoin/database directory is being filled up by over a hundred log files, and they are eating up more than 1GB of disk space.

  2. alexwaters commented at 2:00 PM on September 14, 2011: contributor

    I'll test in 11.04 to see if I can recreate the issue

  3. gavinandresen commented at 2:16 PM on September 14, 2011: contributor

    Can you run the same experiment with the previous release?

    database log files are cleaned up on either startup or next shutdown (can't remember which), so if you're downloading the blockchain with a new install lots of logs are expected.

  4. oris commented at 2:36 PM on September 14, 2011: none

    It looks like the previous release behave the same way. All the log files except the last are cleaned up after shutdown as you said. So this is normal behaviour.

  5. alexwaters closed this on Sep 14, 2011

  6. sipa commented at 8:52 AM on September 15, 2011: member

    Older releases do indeed have the same problem, but that doesn't mean it's an issue that can be ignored. Start up bitcoin with an empty datadir, and it creates over 1.5GiB of log files when it finishes downloading the chain...

  7. alexwaters reopened this on Sep 15, 2011

  8. alexwaters commented at 8:56 AM on September 15, 2011: contributor

    Ok, I assumed that the log files it creates were valuable. Maybe a commit could make log-file creation opt-in.

  9. sipa commented at 2:08 AM on April 5, 2012: member

    Should be fixed since #1010.

  10. sipa closed this on Apr 5, 2012

  11. dexX7 referenced this in commit 49a36077b3 on Dec 11, 2017
  12. achow101 referenced this in commit ce963f609c on Jul 14, 2018
  13. lateminer referenced this in commit 79e7a13b07 on Jan 22, 2019
  14. sipa referenced this in commit cc05fa919a on Mar 30, 2019
  15. sipa referenced this in commit 54245985fb on Mar 31, 2019
  16. LongShao007 referenced this in commit 3d9a3d2063 on Jul 15, 2019
  17. fjahr referenced this in commit cd5f6028e5 on Jul 24, 2019
  18. kallewoof referenced this in commit 2d465aa9cd on Oct 4, 2019
  19. kallewoof referenced this in commit e9f6e82bbf on Oct 4, 2019
  20. kallewoof referenced this in commit 928c756171 on Oct 4, 2019
  21. lateminer referenced this in commit 6708361caa on Jul 17, 2020
  22. rajarshimaitra referenced this in commit 4618b97fce on Aug 5, 2021
  23. MarcoFalke locked this on Sep 8, 2021

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-13 18:16 UTC

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