Home Bitcoin synchronization – Bitcoin core syncing txindex stalls

synchronization – Bitcoin core syncing txindex stalls

0
synchronization – Bitcoin core syncing txindex stalls

[ad_1]

Bitcoin core bugging out since what I assume was a nasty shutdown. Principally fastened (I believe) however stalling making an attempt to resync txindex. This is the historical past:

  1. Core would not hook up with friends or load the most recent blocks – I figured one thing should have bugged out if shut down incorrectly
  2. I ran -reindex-chainstate which efficiently rechecked all block headers. As soon as this was full, friends began connecting once more and new blocks have been being downloaded and synced. Aspect be aware: this took ages, per week perhaps. I am working the information listing on an exterior SSD (Samsung T7) and bumped up the pace to dbcache=4000 (50% of my pc’s 8GB RAM)
  3. Pockets could not see newest transactions – I attempted getrawtransaction and it acknowledged txindex wasn’t synced. I checked gettxindex which confirmed “synced”: false. Checked the debug log – txindex script appeared to have stalled, wasn’t making any progress
  4. Shut down core – shutdown did not full correctly, after 30 minutes or so I did an ‘finish activity’
  5. Restarting core went okay, and txindex begins syncing. New friends connecting okay, new blocks downloading okay
  6. txindex appears to stall after 10-30mins every time, debug log does not present any progress however new friends connecting and new blocks downloading okay
  7. Restarting core appears to restart the synchronising txindex course of okay – core nonetheless does not shut down accurately and desires a power shut, and when restarting it runs the synchronise txindex script for some time then stalls once more

Any concepts? Any extra detailed diagnostics I can run to seek out out the place and why it is stalling? Thanks upfront.

This is a dump from the debug log:

2023-11-05T20:41:19Z Bitcoin Core model v22.0.0 (launch construct)
2023-11-05T20:41:19Z Qt 5.12.11 (static), plugin=home windows (static)
2023-11-05T20:41:19Z Static plugins:
2023-11-05T20:41:19Z QWindowsIntegrationPlugin, model 330752
2023-11-05T20:41:19Z QWindowsVistaStylePlugin, model 330752
2023-11-05T20:41:19Z Fashion: windowsvista / QWindowsVistaStyle
2023-11-05T20:41:19Z System: Home windows 10 (10.0), x86_64-little_endian-llp64
2023-11-05T20:41:19Z Display screen: .DISPLAY1 1920×1080, pixel ratio=1.0
2023-11-05T20:41:20Z Assuming ancestors of block 00000000000000000008a89e854d57e5667df88f1cdef6fde2fbca1de5b639ad have legitimate signatures.
2023-11-05T20:41:20Z Setting nMinimumChainWork=00000000000000000000000000000000000000001fa4663bbbe19f82de910280
2023-11-05T20:41:20Z Utilizing the ‘shani(1way,2way)’ SHA256 implementation
2023-11-05T20:41:20Z Utilizing RdSeed as extra entropy supply
2023-11-05T20:41:20Z Utilizing RdRand as a further entropy supply
2023-11-05T20:41:20Z GUI: “registerShutdownBlockReason: Efficiently registered: Bitcoin Core did not but exit safely…”
2023-11-05T20:41:20Z Default information listing C:UsersjonnyAppDataRoamingBitcoin
2023-11-05T20:41:20Z Utilizing information listing D:Bitcoin
2023-11-05T20:41:20Z Config file: D:Bitcoinbitcoin.conf
2023-11-05T20:41:20Z Config file arg: dbcache=”1000″
2023-11-05T20:41:20Z Config file arg: server=”1″
2023-11-05T20:41:20Z Config file arg: txindex=”1″
2023-11-05T20:41:20Z Utilizing at most 125 automated connections (2048 file descriptors accessible)
2023-11-05T20:41:20Z Utilizing 16 MiB out of 32/2 requested for signature cache, capable of retailer 524288 parts
2023-11-05T20:41:20Z Utilizing 16 MiB out of 32/2 requested for script execution cache, capable of retailer 524288 parts
2023-11-05T20:41:20Z Script verification makes use of 7 extra threads
2023-11-05T20:41:20Z scheduler thread begin
2023-11-05T20:41:20Z HTTP: creating work queue of depth 16
2023-11-05T20:41:20Z Utilizing random cookie authentication.
2023-11-05T20:41:20Z Generated RPC authentication cookie D:Bitcoin.cookie
2023-11-05T20:41:20Z HTTP: beginning 4 employee threads
2023-11-05T20:41:20Z Utilizing pockets listing D:Bitcoinwallets
2023-11-05T20:41:20Z init message: Verifying pockets(s)…
2023-11-05T20:41:20Z init message: Loading banlist…
2023-11-05T20:41:20Z SetNetworkActive: true
2023-11-05T20:41:20Z Utilizing /16 prefix for IP bucketing
2023-11-05T20:41:20Z Cache configuration:
2023-11-05T20:41:20Z * Utilizing 2.0 MiB for block index database
2023-11-05T20:41:20Z * Utilizing 124.8 MiB for transaction index database
2023-11-05T20:41:20Z * Utilizing 8.0 MiB for chain state database
2023-11-05T20:41:20Z * Utilizing 865.2 MiB for in-memory UTXO set (plus as much as 286.1 MiB of unused mempool area)
2023-11-05T20:41:20Z init message: Loading block index…
2023-11-05T20:41:20Z Switching energetic chainstate to Chainstate [ibd] @ top -1 (null)
2023-11-05T20:41:20Z Opening LevelDB in D:Bitcoinblocksindex
2023-11-05T20:41:20Z Opened LevelDB efficiently
2023-11-05T20:41:20Z Utilizing obfuscation key for D:Bitcoinblocksindex: 0000000000000000
2023-11-05T20:41:23Z LoadBlockIndexDB: final block file = 3922
2023-11-05T20:41:23Z LoadBlockIndexDB: final block file information: CBlockFileInfo(blocks=33, measurement=53851357, heights=815456…815488, time=2023-11-05…2023-11-05)
2023-11-05T20:41:23Z Checking all blk recordsdata are current…
2023-11-05T20:41:27Z Opening LevelDB in D:Bitcoinchainstate
2023-11-05T20:41:28Z Opened LevelDB efficiently
2023-11-05T20:41:28Z Utilizing obfuscation key for D:Bitcoinchainstate: dc6979cd4bd813b3
2023-11-05T20:41:29Z Loaded finest chain: hashBestChain=0000000000000000000270c62ee0ca93f9c0992a724470e214ceaf6bab585ad4 top=815488 date=2023-11-05T20:37:29Z progress=0.999999
2023-11-05T20:41:29Z init message: Verifying blocks…
2023-11-05T20:41:29Z Verifying final 6 blocks at degree 3
2023-11-05T20:41:29Z [0%]…[16%]…[33%]…[50%]…[66%]…[83%]…[99%]…[DONE].
2023-11-05T20:41:51Z No coin database inconsistencies in final 6 blocks (21212 transactions)
2023-11-05T20:41:51Z block index 30774ms
2023-11-05T20:41:51Z Opening LevelDB in D:Bitcoinindexestxindex
2023-11-05T20:42:17Z Opened LevelDB efficiently
2023-11-05T20:42:17Z Utilizing obfuscation key for D:Bitcoinindexestxindex: 0000000000000000
2023-11-05T20:42:17Z block tree measurement = 815492
2023-11-05T20:42:17Z nBestHeight = 815488
2023-11-05T20:42:17Z txindex thread begin
2023-11-05T20:42:17Z loadblk thread begin
2023-11-05T20:42:17Z Syncing txindex with block chain from top 616291
2023-11-05T20:42:17Z AddLocal([2a04:4a43:947f:f514:fdcc:b1cc:2ce3:4c78]:8333,1)
2023-11-05T20:42:17Z Uncover: Sam – 2a04:4a43:947f:f514:fdcc:b1cc:2ce3:4c78
2023-11-05T20:42:17Z AddLocal([2a04:4a43:947f:f514:392b:e2c3:3462:4c74]:8333,1)
2023-11-05T20:42:17Z Uncover: Sam – 2a04:4a43:947f:f514:392b:e2c3:3462:4c74
2023-11-05T20:42:17Z torcontrol thread begin
2023-11-05T20:42:17Z Certain to 127.0.0.1:8334
2023-11-05T20:42:17Z Leaving InitialBlockDownload (latching to false)
2023-11-05T20:42:17Z Certain to [::]:8333
2023-11-05T20:42:17Z Certain to 0.0.0.0:8333
2023-11-05T20:42:17Z init message: Loading P2P addresses…
2023-11-05T20:42:17Z Loaded 58287 addresses from friends.dat 110ms
2023-11-05T20:42:17Z Loaded 2 addresses from “anchors.dat”
2023-11-05T20:42:17Z 2 block-relay-only anchors will likely be tried for connections.
2023-11-05T20:42:17Z init message: Beginning community threads…
2023-11-05T20:42:17Z web thread begin
2023-11-05T20:42:17Z dnsseed thread begin
2023-11-05T20:42:17Z Ready 300 seconds earlier than querying DNS seeds.
2023-11-05T20:42:17Z addcon thread begin
2023-11-05T20:42:17Z opencon thread begin
2023-11-05T20:42:17Z msghand thread begin
2023-11-05T20:42:17Z init message: Completed loading
2023-11-05T20:42:17Z GUI: Platform customization: “home windows”
2023-11-05T20:42:20Z New outbound peer linked: model: 70016, blocks=815488, peer=0 (block-relay-only)
2023-11-05T20:42:21Z New outbound peer linked: model: 70016, blocks=815488, peer=1 (block-relay-only)
2023-11-05T20:42:30Z New outbound peer linked: model: 70016, blocks=815488, peer=2 (outbound-full-relay)
2023-11-05T20:42:31Z New outbound peer linked: model: 70015, blocks=815488, peer=4 (outbound-full-relay)
2023-11-05T20:42:39Z New outbound peer linked: model: 70016, blocks=815488, peer=5 (outbound-full-relay)
2023-11-05T20:42:39Z P2P friends accessible. Skipped DNS seeding.
2023-11-05T20:42:39Z dnsseed thread exit
2023-11-05T20:42:42Z New outbound peer linked: model: 70016, blocks=815488, peer=7 (outbound-full-relay)
2023-11-05T20:42:49Z Syncing txindex with block chain from top 616346
2023-11-05T20:43:00Z New outbound peer linked: model: 70016, blocks=815488, peer=10 (outbound-full-relay)
2023-11-05T20:43:06Z New outbound peer linked: model: 70015, blocks=815488, peer=11 (outbound-full-relay)
2023-11-05T20:43:13Z New outbound peer linked: model: 70016, blocks=815488, peer=13 (outbound-full-relay)
2023-11-05T20:43:16Z New outbound peer linked: model: 70016, blocks=815488, peer=14 (outbound-full-relay)
2023-11-05T20:43:20Z Syncing txindex with block chain from top 616398
2023-11-05T20:43:51Z Syncing txindex with block chain from top 616433
2023-11-05T20:43:58Z New outbound peer linked: model: 70016, blocks=815488, peer=21 (outbound-full-relay)
2023-11-05T20:44:22Z Syncing txindex with block chain from top 616463
2023-11-05T20:44:44Z New outbound peer linked: model: 70016, blocks=815488, peer=22 (outbound-full-relay)
2023-11-05T20:49:39Z UpdateTip: new finest=00000000000000000001a9debe40ab106fc7a9328d9d0ae6e39ccfc0302976fb top=815489 model=0x2c1a0000 log2_work=94.521130 tx=914569581 date=”2023-11-05T20:49:05Z” progress=1.000000 cache=41.6MiB(289338txo)
2023-11-05T20:49:56Z UpdateTip: new finest=00000000000000000001304514a6a3080875bd23ef495d98276fb5c362ee35d8 top=815490 model=0x2217e000 log2_work=94.521144 tx=914573253 date=”2023-11-05T20:49:21Z” progress=1.000000 cache=43.3MiB(301523txo)
2023-11-05T20:53:58Z Imported mempool transactions from disk: 52234 succeeded, 415 failed, 0 expired, 20 already there, 0 ready for preliminary broadcast
2023-11-05T20:53:58Z loadblk thread exit
2023-11-05T20:58:18Z New outbound peer linked: model: 70016, blocks=815490, peer=25 (outbound-full-relay)
2023-11-05T20:58:25Z New outbound peer linked: model: 70016, blocks=815490, peer=26 (outbound-full-relay)
2023-11-05T20:58:25Z New outbound peer linked: model: 70016, blocks=815488, peer=27 (outbound-full-relay)
2023-11-05T20:58:26Z New outbound peer linked: model: 70016, blocks=815490, peer=28 (outbound-full-relay)
2023-11-05T20:58:32Z New outbound peer linked: model: 70016, blocks=815490, peer=29 (outbound-full-relay)
2023-11-05T20:58:33Z New outbound peer linked: model: 70016, blocks=815490, peer=30 (outbound-full-relay)
2023-11-05T20:59:34Z New outbound peer linked: model: 70016, blocks=815490, peer=31 (outbound-full-relay)
2023-11-05T20:59:41Z New outbound peer linked: model: 70016, blocks=815489, peer=32 (outbound-full-relay)
2023-11-05T21:07:12Z UpdateTip: new finest=00000000000000000002ed61af02abb053e53e287ff98f1a9f5898fc9b3edf57 top=815491 model=0x3fff0000 log2_work=94.521157 tx=914576806 date=”2023-11-05T21:06:41Z” progress=1.000000 cache=55.9MiB(403631txo)
2023-11-05T21:11:26Z UpdateTip: new finest=00000000000000000001754ba92729f0085950aec003537733de92854bfdbc84 top=815492 model=0x24424000 log2_work=94.521171 tx=914578785 date=”2023-11-05T21:10:54Z” progress=1.000000 cache=57.3MiB(414237txo)
2023-11-05T21:14:47Z UpdateTip: new finest=00000000000000000000bf127ef8c2af5e9bbac6866bf993f2ee5b04530c49ce top=815493 model=0x2e990000 log2_work=94.521185 tx=914582250 date=”2023-11-05T21:14:05Z” progress=1.000000 cache=58.6MiB(424487txo)
2023-11-05T21:17:17Z UpdateTip: new finest=000000000000000000042045e42d958931fceef136506301ab7801f2ffdbb724 top=815494 model=0x2309c000 log2_work=94.521198 tx=914585717 date=”2023-11-05T21:16:50Z” progress=1.000000 cache=60.0MiB(435051txo)

And this is the debug log once I try to shutdown bitcoin core:

2023-11-05T21:30:58Z tor: Thread interrupt
2023-11-05T21:30:58Z addcon thread exit
2023-11-05T21:30:58Z opencon thread exit
2023-11-05T21:30:58Z torcontrol thread exit
2023-11-05T21:30:58Z Shutdown: In progress…
2023-11-05T21:30:58Z web thread exit
2023-11-05T21:30:58Z msghand thread exit
2023-11-05T21:30:59Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat began
2023-11-05T21:30:59Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat accomplished (0.01s)
2023-11-05T21:30:59Z scheduler thread exit
2023-11-05T21:31:23Z Writing 0 unbroadcast transactions to disk.
2023-11-05T21:31:23Z Dumped mempool: 0.031262s to repeat, 23.6728s to dump
2023-11-05T21:31:23Z FlushStateToDisk: write cash cache to disk (440587 cash, 63659kB) began
2023-11-05T21:31:23Z FlushStateToDisk: write cash cache to disk (440587 cash, 63659kB) accomplished (0.36s)

then nothing occurs so I’ve to manually finish activity. Do not know if that is associated to the synchronising txindex script stalling

Thanks

[ad_2]

Supply hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here