Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: cloverme on March 27, 2017, 08:28:02 PM



Title: bitcoind 0.14.0 keeps dying :(
Post by: cloverme on March 27, 2017, 08:28:02 PM
I'm running bitcoind v14 on linux on 2 servers, but bitcoind keeps dying on one server. I have another server running the same version and it's fine. It will run for several hours and then just die. No causes in the debug.log, it just... stops.  ???  I'm thinking it might be running out

Server 1: ok
-4gb memory
-2 cpu
-testnet

Server 2: - The one with the problem
-2gb memory
-1 cpu
-mainnet
-prune to 8gb

I figure if bitcoind ran out of memory or hit some major issue, it would log in debug.log, but there's nothing to suggest the cause of it dying.


Title: Re: bitcoind 0.14.0 keeps dying :(
Post by: achow101 on March 27, 2017, 09:13:20 PM
Server 2: - The one with the problem
-2gb memory
-1 cpu
-mainnet
-prune to 8gb

I figure if bitcoind ran out of memory or hit some major issue, it would log in debug.log, but there's nothing to suggest the cause of it dying.
It's an out of memory crash. 2 GB is not enough to support Bitcoin Core on mainnet. In fact, I don't think any of the normal memory reduction methods will work, but you can try them anyways. Add (or change) the following to your bitcoin.conf
Code:
dbcache=100
maxmempool=100

Also, I think the 1 core (I assume 1 CPU = 1 core) may be causing some issues as that does not seem like enough power to keep Bitcoin Core running.


Title: Re: bitcoind 0.14.0 keeps dying :(
Post by: cloverme on March 27, 2017, 09:19:11 PM
Ill give it a shot, if not, I'll upgrade up :/

thanks achow  :)

-C


Title: Re: bitcoind 0.14.0 keeps dying :(
Post by: cloverme on March 28, 2017, 05:21:07 PM
Just an update and probably a marker in for someone else in the future, the server was under-powered with cpu and memory. Adding an additional cpu (2) and doubling the memory to 4gb solved the issue.