bnb-chain / bsc

A BNB Smart Chain client based on the go-ethereum fork
GNU Lesser General Public License v3.0
2.73k stars 1.56k forks source link

Fully synced from genesis - restarted node, now stuck in state heal #1205

Closed quakemmo closed 1 year ago

quakemmo commented 1 year ago
t=2022-11-26T14:46:18+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="592.359µs" number=23,391,096 hash=0xc96c69f2e45134192129b9766ff76d43ebfa5521f0a4b23fffaf28deaae82b48
t=2022-11-26T14:46:21+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="585.918µs" number=23,391,097 hash=0x4b848a143e3d25f3fd22d15066e0c7dfcc3eee977eb0d2f1eaec1a04f3a69c9a
t=2022-11-26T14:46:22+0000 lvl=warn msg="Pivot became stale, moving"            old=23,390,971 new=23,391,035
t=2022-11-26T14:46:22+0000 lvl=info msg="Imported new block receipts"           count=64   elapsed=130.405ms   number=23,391,034 hash=0xe2848f0a075cc5b01a843e520f5c08b61342a5f58f8fcad2858c17c02775bb1c age=3m18s    size="15.25 MiB"
t=2022-11-26T14:46:22+0000 lvl=info msg="State heal in progress"                accounts=0@0.00B slots=0@0.00B codes=3178@26.33MiB nodes=32,358,287@6.49GiB pending=1
t=2022-11-26T14:46:24+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="584.359µs" number=23,391,098 hash=0x8a3fe19c6f9af85a79e832e17af9fa700e7f92728e08f30bcc27281ae16f5790
t=2022-11-26T14:46:27+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="560.368µs" number=23,391,099 hash=0x11188818355c0f4c328f146fe21e589cf37f13654d78c5a334f4c078b90af365
t=2022-11-26T14:46:31+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="615.758µs" number=23,391,100 hash=0x0b6fbf8166ff3f3e727376b6ad0fa3f595e14a75f87e08040786a17570db8bea
t=2022-11-26T14:46:31+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="363.729µs" number=23,391,101 hash=0x6a66dcdd7dac56fb7a071c89fc527a5bca950568ac1394a2d66d95057ce8d10c
t=2022-11-26T14:46:34+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="604.638µs" number=23,391,102 hash=0x0731fff00f04795b5f0ab3d2b0c75e1013cc271de7f454634643b1c2c07238fe
t=2022-11-26T14:46:37+0000 lvl=info msg="Imported new block headers"            count=1    elapsed="254.35µs"  number=23,391,103 hash=0x57dab0dedaad4dd0ed8516fb679aa28d7adab3daa67c6189de54e868d4151836
> eth.blockNumber
0
> eth.syncing
{
  currentBlock: 23391098,
  healedBytecodeBytes: 27613695,
  healedBytecodes: 3178,
  healedTrienodeBytes: 6970911761,
  healedTrienodes: 32358287,
  healingBytecode: 0,
  healingTrienodes: 0,
  highestBlock: 23391179,
  startingBlock: 23383448,
  syncedAccountBytes: 31201984726,
  syncedAccounts: 171780040,
  syncedBytecodeBytes: 16178509693,
  syncedBytecodes: 1901425,
  syncedStorage: 2635313979,
  syncedStorageBytes: 568319547428
}
> 

Please help. The numbers in the state heal message don't seem to change. The node took 2 weeks to fully sync from genesis and was working fine yesterday. Restarted it and now it's stuck, been this way for 24 hours.

HW specs are fine.

mosinb commented 1 year ago

Hi @quakemmo,

Sometimes when restarting a node it can get into heal state specially as I have seen when configuration was modified. In the last 24hs did you restart again? That would increase the time to heal even more. I would give it a some more time sync. I also suggest you if you can to come to our discord channel so we can help taking a look into that. https://discord.gg/bnbchain

forcodedancing commented 1 year ago

@quakemmo Please refer to this issue https://github.com/bnb-chain/bsc/issues/1198 We are fixing it.

bnb-tw commented 1 year ago

closing due to inactivity