Bitcoin Forum
May 28, 2024, 05:23:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind 0.14.0 keeps dying :(  (Read 736 times)
cloverme (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1057


SpacePirate.io


View Profile WWW
March 27, 2017, 08:28:02 PM
 #1

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.  Huh  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.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
March 27, 2017, 09:13:20 PM
 #2

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.

cloverme (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1057


SpacePirate.io


View Profile WWW
March 27, 2017, 09:19:11 PM
 #3

Ill give it a shot, if not, I'll upgrade up :/

thanks achow  Smiley

-C
cloverme (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1057


SpacePirate.io


View Profile WWW
March 28, 2017, 05:21:07 PM
 #4

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!