Bitcoin Forum
June 19, 2024, 09:58:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problems running a node on VPS  (Read 1016 times)
Morblias (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
April 14, 2014, 08:31:49 PM
 #1

bitcoind keeps closing over and over on a VPS and I am not sure why. I have used 512MB RAM ones in the past that worked just fine. Right now I am using a 768MB RAM one which is causing all kinds of problems. I reboot, start bitcoind, and a couple minutes later it just disappears from the running processes. It is up to block ~270k right now, but will not run for more then 2 minutes before crashing. There is still 15gb free on the hard drive too, so that isn't the issue. Any ideas?

It's supposedly running, but won't show anything. Then the process crashes: https://i.imgur.com/q9FiL1f.png

Last 30 lines in debug.log before it crashed: https://i.imgur.com/6EHQ4wF.png

Also, I have a 2nd node on another VPS from this company with 1GB RAM that is working. Would 768MB RAM be causing this problem? I am kind of confused since a while ago I ran a node on a 512MB RAM VPS with no problems.

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
Morblias (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
April 14, 2014, 08:44:41 PM
Last edit: April 14, 2014, 09:54:18 PM by Morblias
 #2

After a bit of googling and reddit help, it looks like the kernel is killing it.



Are there any workarounds, or am I basically shit out of luck unless I upgrade the VPS to more RAM?

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 14, 2014, 08:59:32 PM
 #3

you can try running with -disablewallet to decrease memory usage.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1068



View Profile
April 14, 2014, 09:00:32 PM
 #4

Are there any workarounds, or am I basically shit out of luck unless I upgrade the VPS to more RAM?
Code:
swapon -a
is your friend.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
April 15, 2014, 02:13:05 PM
 #5

Yeah, it probably isn't using swap space.  Follow this:   https://www.digitalocean.com/community/articles/how-to-configure-virtual-memory-swap-file-on-a-vps

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
Morblias (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
April 15, 2014, 04:19:31 PM
 #6

Unfortunately the VPS didn't allow swap, so I had to cancel that one and buy a different service. At least I know now not to deal with ones without swap.

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
dewdeded
Legendary
*
Offline Offline

Activity: 1232
Merit: 1011


Monero Evangelist


View Profile
April 20, 2014, 08:07:00 AM
 #7

Crashes are standard, during syncing, with < 1 GB RAM.

Set "maxconnections=8" (or even lower like 5) in config and it wont crash anymore because of memorey running out.
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!