hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WARN Unable to find block

wagmiwiz opened this issue · comments

I get "Unable to find block" frequently (built from current develop branch).

Sometimes it resolves itself after a few retries, but this time it is not able to fix itself. Is there anything in the settings that could fix this? I tried repairing the blocks it complains about but then it just comes back with different blocks.

Feb 14 14:54:48.066 INFO Completed ordinal number retrieval for Satpoint 0x81f9590f3fe795df5131364532a3ebebe10c452a691c107eb770ccb2f7324160:0:0 (block: #675559:229243007, transfers: 716, progress: 117/176, priority queue: true, thread: 9)
Feb 14 14:54:48.115 INFO Completed ordinal number retrieval for Satpoint 0x8f56ae5ac8b402e313566d78775e16a3537f961a24f21e8a470dd897a407190a:0:0 (block: #421348:1100243006, transfers: 258, progress: 118/176, priority queue: true, thread: 9)
Feb 14 14:54:48.163 INFO Completed ordinal number retrieval for Satpoint 0xf93a6ea172cbebc7c9224850d89563543628bd0806626cb0c38f3e72e7da7343:0:0 (block: #419354:314893379, transfers: 53, progress: 119/176, priority queue: true, thread: 9)
Feb 14 14:54:48.202 INFO Completed ordinal number retrieval for Satpoint 0x74c9d5dddb8eb78daaf7d389307380f864938036e601a36a98da98fc7d1c74ad:0:0 (block: #419354:314906441, transfers: 53, progress: 120/176, priority queue: true, thread: 9)
Feb 14 14:54:49.341 WARN Unable to find block #359136, will retry in 2.666s
Feb 14 14:54:49.419 WARN Unable to find block #707189, will retry in 2.271s
Feb 14 14:54:49.419 WARN Unable to find block #707189, will retry in 2.473s
Feb 14 14:54:49.419 WARN Unable to find block #707189, will retry in 2.863s
Feb 14 14:54:49.419 WARN Unable to find block #707189, will retry in 2.91s
Feb 14 14:54:49.420 WARN Unable to find block #707189, will retry in 2.021s
Feb 14 14:54:49.420 WARN Unable to find block #707189, will retry in 2.452s
Feb 14 14:54:49.420 WARN Unable to find block #707189, will retry in 2.934s

You are most likely hitting a ulimit issue. Depending on the OS you're running, try something like

ulimit -Sn 5000

Yup, forgot to check ulimit of course. Thanks!