bitcoin core 请求拒绝响应【或者】卡死

简介: bitcoin core 请求拒绝响应【或者】卡死

日志

经过排查节点日志,发现抛出异常

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

建议

  1. 并发开太高请求 bitcoin 节点,对你的请求性能提升非常有限。再大一点还会降速。
目录
相关文章
|
Web App开发 缓存 JavaScript
如何处理页面关闭时发送HTTP请求?
在实际项目开发中,可能会遇到这样的业务问题:如何在用户离开或关闭页面时发送HTTP请求给服务端?可能有人会觉得页面都关闭了,还需要发送什么请求,完全没必要噻。但如果真有这样的业务需求落到自己的头上,那么我们应该如何来实现呢?
2240 0
如何处理页面关闭时发送HTTP请求?
|
1月前
|
缓存 网络协议 API
【Azure 环境】请求经过应用程序网关,当响应内容大时遇见504超时报错
应用程序网关的响应缓冲区可以收集后端服务器发送的全部或部分响应数据包,然后再将它们发送给客户端。 默认在应用程序网关上启用响应缓冲,这对于适应缓慢的客户端很有用。
|
3月前
|
Web App开发 缓存 JSON
在打开网站时,HTTP请求流程是如何处理的
【8月更文挑战第20天】流程包括:构建请求(如`GET /index.html HTTP/1.1`)、检查本地缓存、获取服务器IP及端口、等待TCP连接队列、建立TCP连接、发送HTTP请求。服务器处理后返回数据与响应头,可选择保持连接开启以便后续请求重用,最后断开TCP连接。
|
4月前
|
缓存 安全 Web App开发
Chrome插件实现问题之网络进程接收到URL请求后会如何解决
Chrome插件实现问题之网络进程接收到URL请求后会如何解决
|
5月前
|
JavaScript 前端开发 网络协议
前端JS发起的请求能暂停吗?
在讨论前端JS发起的请求是否能暂停时,需要明确两个概念:什么状态可以被认为是“暂停”?以及什么是JS发起的请求?
485 1
前端JS发起的请求能暂停吗?
|
JSON 小程序 API
【uniapp小程序】request发起请求
【uniapp小程序】request发起请求
169 0
|
JSON 前端开发 网络架构
DRF--请求和响应
DRF--请求和响应
【C#编程最佳实践 二十二】如何发送带有重试机制的Http请求
【C#编程最佳实践 二十二】如何发送带有重试机制的Http请求
162 0
【C#编程最佳实践 二十二】如何发送带有重试机制的Http请求
解决.NET Core Ajax请求后台传送参数过大请求失败问题
解决.NET Core Ajax请求后台传送参数过大请求失败问题
|
前端开发 JavaScript API
中止一个或多个 Web 请求
AbortController 接口表示一个控制器对象,允许你根据需要中止一个或多个 Web 请求
249 0