0
I run bitcoind on AWS on Ubuntu. The machine has 4Gb of memory and free shows some of it remains free. Enough disk space too.
Yet, I have to manually restart bitcoind quite often, because sending JSON-RPC requests returns a timeout error. That is, at first they do work, but then they don't. No matter what kind of request.
Has anyone ever come across this? Why does it happen? Does anybody have a plausible theory?
What version of bitcoind are you running? Also, is the blockchain caught up? (You can tell what block you're on by running
bitcoind getinfoorbitcoin-cli getinforespectively) – JohnDvorak – 2015-02-20T14:27:24.290Does increasing
rpcthreadscause the problem to stop? – Nick ODell – 2015-02-20T21:21:38.380Some HTTP client software does not deal with the persistent connection feature that bitcoind offer. Persistant connections are off by default in 0.10 again, but can be re-enabled with -rpckeepalive. – Pieter Wuille – 2015-02-20T22:16:04.963