日志
经过排查节点日志,发现抛出异常。
tail -f debug.log
日志:
2024-02-05T05:56:26Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T05:56:26Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T05:57:40Z Saw new header hash=00000000000000000002afccf4776dcaa9f27e7c83dd04b942d892a70a0ad0b3 height=828999 2024-02-05T05:57:40Z [net] Saw new cmpctblock header hash=00000000000000000002afccf4776dcaa9f27e7c83dd04b942d892a70a0ad0b3 peer=33 2024-02-05T05:58:04Z UpdateTip: new best=00000000000000000002afccf4776dcaa9f27e7c83dd04b942d892a70a0ad0b3 height=828999 version=0x20018000 log2_work=94.711111 tx=962392046 date='2024-02-05T05:57:15Z' progress=1.000000 cache=75.6MiB(236260txo) 2024-02-05T05:58:04Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T05:58:04Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T05:58:04Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T05:58:04Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T05:58:45Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting
异常记录
记录1
2024-02-05T06:13:24Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T06:27:32Z Saw new header hash=0000000000000000000380aa9f106ee0d0eb3ae7e0710d9562663f0d65c25de1 height=829003 2024-02-05T06:27:32Z [net] Saw new cmpctblock header hash=0000000000000000000380aa9f106ee0d0eb3ae7e0710d9562663f0d65c25de1 peer=15 2024-02-05T06:27:38Z UpdateTip: new best=0000000000000000000380aa9f106ee0d0eb3ae7e0710d9562663f0d65c25de1 height=829003 version=0x22000000 log2_work=94.711169 tx=962396874 date='2024-02-05T06:26:35Z' progress=1.000000 cache=210.9MiB(1465958txo) 2024-02-05T06:27:38Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T06:27:38Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T06:27:38Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T06:27:38Z BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications 2024-02-05T06:30:30Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:30Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:30Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:30Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:36Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:36Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:36Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:36Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2024-02-05T06:30:36Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting
问
https://github.com/bitcoin/bitcoin/issues/29384
建议
- 并发开太高请求 bitcoin 节点,对你的请求性能提升非常有限。再大一点还会降速。