Title: Bitcoind daemon synchronizing error on VPS(debian) Post by: Ervin on April 20, 2014, 01:22:26 PM I have bitcoind installed on a VPS debian server, i started running bitcoind 2 days ago for syncronizing with bitcoin network but i got the following error today.
Code: root@vps:~# bitcoind getinfo I have no idea what this error mean, or how can i resolve this kind of error. Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: mriou on April 20, 2014, 04:03:44 PM Your VPS doesn't have enough memory. You'll need to upgrade.
Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: Ervin on April 20, 2014, 04:16:08 PM well, i really don't know .. maybe there is another problem.
Last week i run bitcoind syncronization on my personal computer(over windows) with lower configuration than my rented VPS, and I did't get such error. Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: cr1776 on April 20, 2014, 04:48:38 PM How much RAM does the system have? You may be able to enable swap on the machine and fix the issue if you can allocate a few more GBs in swap space. As mriou says, this is a memory issue.
e.g. swapon /var/swap.img once you've created the swap image file. [edit: see https://wiki.debian.org/Swap ] You might also be able to decrease the number of connections which I've heard may decrease memory usage. I haven't tried that, I just make sure the machine has enough memory with some swap space too. This should probably be in the tech support thread too, btw. Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: cr1776 on April 20, 2014, 04:53:38 PM The part highlighted also looks odd. You may want to download and build from github because that version looks really old.
Did you by any chance do an apt-get for bitcoin? iirc that version is way out of date. ... "version" : 32400, ... I have no idea what this error mean, or how can i resolve this kind of error. Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: Ervin on April 20, 2014, 05:41:21 PM VPS configuration
Code: Disk 14.65 GB 48.83 GB i don't have any swap area on VPS. Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: Ervin on April 20, 2014, 06:14:26 PM I tried to create swap area but unfortonetly i haven't right to create.
I got the following error "swapon: /swap: swapon failed: Operation not permitted" Is there any another solution, or i have to discuss this problem via VPS hosting administrators? Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: dserrano5 on April 20, 2014, 07:33:33 PM "RAM" isn't enough. I mean, I have an openvz VPS with 4 Gb "RAM" but when examining the file /proc/user_beancounters I find some draconian limits that make it difficult to run bitcoind. You might be in a similar situation. There's more than "RAM" to it.
Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: dewdeded on April 20, 2014, 08:32:33 PM Set "maxconnections" to 10 or 8 or 5. The highest number it wont crash with.
Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: cr1776 on April 20, 2014, 09:31:21 PM I tried to create swap area but unfortonetly i haven't right to create. I got the following error "swapon: /swap: swapon failed: Operation not permitted" Is there any another solution, or i have to discuss this problem via VPS hosting administrators? Given that the error is "Cannot allocate memory", it is memory issue. You'd have to ask the admins or switch to a different provider - digital ocean has some nice options, btw. As I, and someone else said above, try limiting the connections. Also, as I said above, check the version - the current is 0.9.1 and your version is showing 32400 which is 0.3.2.4 iirc. The newer versions may handle memory better. Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: Ervin on April 21, 2014, 04:32:44 AM Well i must talk with administrator, but before it, i would like to try this solution:
Quote Set "maxconnections" to 10 or 8 or 5. The highest number it wont crash with. where can i configure bitcoind's max connections? (maybe in boitcoind.conf ? ) Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: somic on April 21, 2014, 07:36:59 AM Well i must talk with administrator, but before it, i would like to try this solution: Quote Set "maxconnections" to 10 or 8 or 5. The highest number it wont crash with. where can i configure bitcoind's max connections? (maybe in boitcoind.conf ? ) net.cpp Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: dewdeded on April 21, 2014, 07:46:34 AM where can i configure bitcoind's max connections? (maybe in boitcoind.conf ? ) yeah, see https://en.bitcoin.it/wiki/Running_BitcoinTitle: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: VossArtesian on May 27, 2014, 04:32:50 PM The part highlighted also looks odd. You may want to download and build from github because that version looks really old. Did you by any chance do an apt-get for bitcoin? iirc that version is way out of date. ... "version" : 32400, ... I have no idea what this error mean, or how can i resolve this kind of error. I got this same memory error, get stuck at the same block, and have the same version 32400. That is however, the version installed from the bitcoin ppa:bitcoin/bitcoin Title: Re: Bitcoind daemon synchronizing error on VPS(debian) Post by: kjj on May 27, 2014, 04:44:47 PM The part highlighted also looks odd. You may want to download and build from github because that version looks really old. Did you by any chance do an apt-get for bitcoin? iirc that version is way out of date. ... "version" : 32400, ... I have no idea what this error mean, or how can i resolve this kind of error. I got this same memory error, get stuck at the same block, and have the same version 32400. That is however, the version installed from the bitcoin ppa:bitcoin/bitcoin Yeah, don't use that. It is ancient. |