Bitcoin Forum
November 17, 2024, 11:56:32 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core Wallet Processing blocks on disk...  (Read 170 times)
jwi5 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
June 05, 2024, 06:50:07 AM
 #1

So I loaded my bitcoin core wallet on my mac for the first time in months. I can see the 'Overview' Page of my wallet but I cant click into the wallet, it is stuck loading with the Rainbow wheel, and says 'Processing blocks on disk...' in the bottom left corner. It has been stuck like this for a full 24 hours. How do I resolve this issue, thanks.
nc50lc
Legendary
*
Offline Offline

Activity: 2604
Merit: 6420


Self-proclaimed Genius


View Profile
June 05, 2024, 07:17:10 AM
Merited by ABCbits (1)
 #2

-snip- it is stuck loading with the Rainbow wheel, and says 'Processing blocks on disk...' in the bottom left corner. It has been stuck like this for a full 24 hours. How do I resolve this issue, thanks.
Your node is either rebuilding your block index or transaction index for some reason. (there's not enough info to tell why)
That's expected to be a slow process but for full 24 hours and counting, your hardware must be old, using external HDD or something since it's even freezing consistently during reindex.

But you can check its progress by checking your "debug.log" file (open with text editor) with the block height of the latest "UpdateTip:" lines.
The file is in your data directory: en.bitcoin.it/wiki/Data_directory#Default_Location

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
odolvlobo
Legendary
*
Offline Offline

Activity: 4508
Merit: 3418



View Profile
June 05, 2024, 09:31:15 PM
 #3

For as long as I have been using Bitcoin Core on PC, there has always the problem of the UI being unresponsive when syncing a large number of blocks. I don't know the cause, but it is poor software design. I don't know why it hasn't been fixed, but it has been a problem for a long time so I assume that it will never be fixed.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
BitMaxz
Legendary
*
Offline Offline

Activity: 3444
Merit: 3175


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
June 05, 2024, 09:57:42 PM
 #4

For as long as I have been using Bitcoin Core on PC, there has always the problem of the UI being unresponsive when syncing a large number of blocks. I don't know the cause, but it is poor software design. I don't know why it hasn't been fixed, but it has been a problem for a long time so I assume that it will never be fixed.

That's fixable by replacing your RAM and drive or configuring and reducing the dbcache to ensure the RAM won't hit the maximum usage. If you have slow RAM and drive this would cause unresponsive UI even the whole system is stuck because the Bitcoin core is eating many resources including CPU.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
nc50lc
Legendary
*
Offline Offline

Activity: 2604
Merit: 6420


Self-proclaimed Genius


View Profile
June 06, 2024, 05:35:24 AM
 #5

For as long as I have been using Bitcoin Core on PC, there has always the problem of the UI being unresponsive when syncing a large number of blocks. -snip-
Yeah, it's annoying specially if you need to close it.
Had to resort to issuing 'stop' command though bitcoin-cli (with server=1 config) when that was my issue.

In my experience; it's much more severe when I was using an HDD to store the datadir, it's almost unresponsive 99% of the time until it reach the tip.
When I switched to SSD, I noticed that although it freezes when catching up to the tip, it only takes a few second to be responsive again.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 3066
Merit: 8091


Crypto Swap Exchange


View Profile
June 06, 2024, 09:28:33 AM
 #6

For as long as I have been using Bitcoin Core on PC, there has always the problem of the UI being unresponsive when syncing a large number of blocks. I don't know the cause, but it is poor software design. I don't know why it hasn't been fixed, but it has been a problem for a long time so I assume that it will never be fixed.

FWIW, https://github.com/bitcoin-core/gui/issues/299 explain the cause.

For as long as I have been using Bitcoin Core on PC, there has always the problem of the UI being unresponsive when syncing a large number of blocks. -snip-
Yeah, it's annoying specially if you need to close it.
Had to resort to issuing 'stop' command though bitcoin-cli (with server=1 config) when that was my issue.

Is it that bad? I never had to resort for such thing even though i store everything on HDD.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1792
Merit: 7388


Top Crypto Casino


View Profile WWW
June 06, 2024, 12:12:18 PM
 #7

For as long as I have been using Bitcoin Core on PC, there has always the problem of the UI being unresponsive when syncing a large number of blocks. -snip-
Yeah, it's annoying specially if you need to close it.
Had to resort to issuing 'stop' command though bitcoin-cli (with server=1 config) when that was my issue.

Is it that bad? I never had to resort for such thing even though i store everything on HDD.

Well, running a disk-intensive process on an HDD along with code that explicitly hangs the GUI thread is always going to be a recipe for disaster.

Even for a healthy disk, the most reliable ones (I mean the ones you see in data centers from Seagate and WD) would struggle with lots of small reads and writes, which is exactly what the wallet updating code seems to do.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2604
Merit: 6420


Self-proclaimed Genius


View Profile
June 07, 2024, 04:50:44 AM
 #8

Yeah, it's annoying specially if you need to close it.
Had to resort to issuing 'stop' command though bitcoin-cli (with server=1 config) when that was my issue.
Is it that bad? I never had to resort for such thing even though i store everything on HDD.
It wasn't that bad, just an annoyance during certain situations while it's syncing and unresponsive.
IIRC, Issuing commands through "bitcoin-cli" while "bitcoin-qt" is unresponsive took longer to return a response.
Of course, shouldn't be an issue if you're using "bitcoind".

For someone (like me) who can't run Bitcoin Core 24/7, I always have to catch-up to the tip at least once a day.
The GUI was almost non-responsive, but only until it fully synced. Not to mention, the time it took was significantly longer than my setup today.
But once it's synced, it rarely freezes.

Never had that issue again since I moved the datadir to an internal SSD.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!