Author

Topic: Bitcoind daemon synchronizing error on VPS(debian) (Read 1127 times)

kjj
legendary
Activity: 1302
Merit: 1026
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.
newbie
Activity: 7
Merit: 0
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
legendary
Activity: 1232
Merit: 1011
Monero Evangelist
where can i  configure bitcoind's max connections? (maybe in boitcoind.conf ? )
yeah, see https://en.bitcoin.it/wiki/Running_Bitcoin
newbie
Activity: 11
Merit: 0
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
newbie
Activity: 10
Merit: 0
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 ? )
legendary
Activity: 4228
Merit: 1313
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.
legendary
Activity: 1232
Merit: 1011
Monero Evangelist
Set "maxconnections" to 10 or 8 or 5. The highest number it wont crash with.
legendary
Activity: 1974
Merit: 1029
"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.
newbie
Activity: 10
Merit: 0
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?
newbie
Activity: 10
Merit: 0
VPS configuration

Code:
	Disk	     14.65 GB	 48.83 GB	
Inode        50002 25600000
Memory 216 MB 4 GB
Backup       0 1
Traffic 28.4 GB 2929.69 GB
LTraffic 0 MB -
CPU0 speed 0.3GHz -
CPU1 speed 0.3GHz -
CPU2 speed 0.3GHz -
CPU3 speed 0.3GHz -
CPU4 speed 0.3GHz -
CPU5 speed 0.3GHz -



i don't have any swap area on VPS.
legendary
Activity: 4228
Merit: 1313
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.
legendary
Activity: 4228
Merit: 1313
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.
newbie
Activity: 10
Merit: 0
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.
newbie
Activity: 26
Merit: 0
Your VPS doesn't have enough memory. You'll need to upgrade.
newbie
Activity: 10
Merit: 0
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
    {
        "version" : 32400,
        "balance" : 0.00000000,
        "blocks" : 258354,
        "connections" : 9,
        "proxy" : "",
        "generate" : false,
        "genproclimit" : -1,
        "difficulty" : 112628548.66634709,
        "hashespersec" : 0,
        "testnet" : false,
        "keypoololdest" : 1397553052,
        "paytxfee" : 0.00000000,
        "errors" : "EXCEPTION: 11DbException       
\nDb::put: Cannot allocate memory       \nbitcoin in ProcessMessage()       \n"
    }

I have no idea what this error mean, or how can i resolve this kind of error.
Jump to: