Start9Labs / bitcoind-startos

wrapper for building bitcoind.s9pk
Other
14 stars 20 forks source link

[bug]: sometimes rpc work queue gets exhausted #41

Closed chrisguida closed 2 years ago

chrisguida commented 2 years ago

This causes all downstream services to freak out

# docker exec -it bitcoind.embassy bitcoin-cli getblockchaininfo
error: couldn't parse reply from server

WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting

ProofOfKeags commented 2 years ago

Are we misusing it? Is this problem a symptom of a low workqueue or us abusing the rpc?

chrisguida commented 2 years ago

I think it's issues with system instability, combined with using the rpc much more heavily

I will try doubling the default workqueue to see if the issues subside

ProofOfKeags commented 2 years ago

possibly addressed by a solution to https://github.com/Start9Labs/community-services/issues/9

chrisguida commented 2 years ago

P2ing this in favor of Start9Labs/community-services#9

Also changing -getinfo (~60s) call to getrpcinfo (~1s) in rpc health check should help a lot: https://github.com/Start9Labs/bitcoind-wrapper/pull/15/commits/6ec5f3a21b4bfdfa71ea91ddfb5320311f3a0dec

kn0wmad commented 2 years ago

Closing in favor of #63, which in turn should be closed by #72