Post
Topic
Board Bitcoin Technical Support
Topic OP
Please help solve the problem with BTC Daemon.
by
IMBA-Exchange
on 16/05/2019, 07:04:22 UTC
Hello, everyone!

If someone can help, I will be very grateful!

Here's the problem: BTC daemon doesn't run stable.

------------------------------------------------------------------------------------------------------------------------------
We have a bitcoind installation into a VPS (60GB RAM, CPU:10cores, 1600 GB SSD) running on Ubuntu 16.04.6 with this configuration

server=1
rpcport=11111
rpcallowip=1.1.1.1
rpcuser=user
rpcpassword=pwd
walletnotify=/btctxs.sh %s
enableaccounts=1
txindex=1
minconf=1
dbcache=600

#onlynet=ipv4/ipv6
#prune=

We are using jsonRpcClient-PHP to connect with the daemon and sending commands to it for transaction and others.
But after some time when the daemon is running, it is not responding to the RPC and not even no response from the CLI

The time is uncertain, sometimes it hangs after 5 minutes and sometimes it is after 2hrs.
Also, the log shows nothing unusual I think.
We have to kill the process and restart the daemon again, and when the daemon is killed and restarted, the balance is down to 0.00 and then after sometimes it is showing balance again, not the full balance but each transactions' amount showed up one after another, as the list transactions is showing confirmation:0 for all latest txs, but those will sum up in total after sometimes if we are lucky enough and the daemon is still running not hanged.

So anyone please advise us, what might be the problem? and how to solve that?

Some of the log entries when the daemon hanged already

[default wallet] keypool reserve 2290
[default wallet] keypool keep 2290
socket send error Broken pipe (32)
[default wallet] keypool added 1 keys (0 internal), size=2000 (1000 internal)
socket recv error Connection reset by peer (104)
------------------------------------------------------------------------------------------------------------------------------

Thanks in advance to all who will respond!