Bitcoin Forum
September 11, 2024, 04:23:06 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core Wallet Processing blocks on disk...  (Read 161 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
*
Online Online

Activity: 2534
Merit: 6080


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: 4438
Merit: 3341



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: 3374
Merit: 3094


BTC price road to $80k


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.

nc50lc
Legendary
*
Online Online

Activity: 2534
Merit: 6080


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: 2996
Merit: 7857


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: 1722
Merit: 7244


In memory of o_e_l_e_o


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.

nc50lc
Legendary
*
Online Online

Activity: 2534
Merit: 6080


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!