Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: torba on June 13, 2013, 05:52:51 AM



Title: Minimum spec vps to support bitcoind?
Post by: torba on June 13, 2013, 05:52:51 AM
I need a wallet for a service I'm helping to put together. Will a 512mb vps support bitcoind? (with 15 gb's of storage).


Title: Re: Minimum spec vps to support bitcoind?
Post by: Atruk on June 13, 2013, 06:34:47 AM
I need a wallet for a service I'm helping to put together. Will a 512mb vps support bitcoind? (with 15 gb's of storage).

You really don't want to run a wallet on a VPS. This introduces the risk of a dishonest operator or their employee just swiping the wallet, and this has happened fairly regularly when people put bitcoin wallets on VPS servers.

That being said if you just want to run bitcoind on a VPS serverto support the network by providing a good and well connected peer a VPS is a good way to go. I use a lite client and have a VPS that pretty much just runs bitcoind to support the network. I'm using a 1GB VPS, but a 512 could probably work if you allow it adequate swap space. The 15gbs of storage though might be an issue, probably before the end of this year.

If you want a wallet for an online service though you need something more secure.


Title: Re: Minimum spec vps to support bitcoind?
Post by: grue on June 13, 2013, 08:48:28 PM
512mb will run just fine. I've tested it myself with: Ubuntu server 12.04 LTS + bitcoind 0.8.2 in vmware. Memory usage sits at 60%.


Title: Re: Minimum spec vps to support bitcoind?
Post by: Abdussamad on June 14, 2013, 03:12:36 AM
My experience has been different. On my 768MB openvz VPS bitcoind kept getting killed due to out of memory conditions. So I think you need 1-2GB just to be safe.

If you are worried about your data not being safe you can get a KVM VPS and encrypt the filesystem that holds the wallet and bitcoind.


Title: Re: Minimum spec vps to support bitcoind?
Post by: Abdussamad on June 14, 2013, 03:21:48 AM
Even better would be to do something like the bitcoin plugin for woocommerce does:

http://wordpress.org/plugins/bitcoin-payments-for-woocommerce/

In the above case there is no need to have bitcoind running and if the server is hacked you don't loose your coins.


Title: Re: Minimum spec vps to support bitcoind?
Post by: grue on June 14, 2013, 02:36:14 PM
My experience has been different. On my 768MB openvz VPS bitcoind kept getting killed due to out of memory conditions. So I think you need 1-2GB just to be safe.
How often does it crash? My 512mb ubuntu VM is stable for at least 12 hours at 65% mem usage. Swap space is barely being used.

If you are worried about your data not being safe you can get a KVM VPS and encrypt the filesystem that holds the wallet and bitcoind.
LOL

If someone has physical access to your server, you're not safe
If someone has root access to your server, you're not safe
If someone has hypervisor to your server, you're not safe


Title: Re: Minimum spec vps to support bitcoind?
Post by: CrownCloud on June 14, 2013, 02:56:57 PM
I could offer you a KVM VPS with 1 GB RAM or 512 MB RAM for $7 (just the storage differs on the plans) - payable in BTC

1 GB RAM & 10 GB HDD = http://dvcticker.appspot.com/mtgox/7usd/btc.png
512 MB RAM & 20 GB HDD = http://dvcticker.appspot.com/mtgox/7usd/btc.png

You could run a encrypted FS or truecrypt and secure off things if you want that additional security.


Title: Re: Minimum spec vps to support bitcoind?
Post by: JohnSy on June 16, 2013, 01:15:07 AM
I need a wallet for a service I'm helping to put together. Will a 512mb vps support bitcoind? (with 15 gb's of storage).
u need q1gb


Title: Re: Minimum spec vps to support bitcoind?
Post by: 01BTC10 on June 16, 2013, 01:18:23 AM
I could not compile bitcoind with 256MB but I'm running bitcoind, litecoind + phpbb3 forum with 1GB without issue. Only 44% of memory used.

Using OpenVZ/1GB RAM/60GB HDD for $45 quarterly from BitVPS.


Title: Re: Minimum spec vps to support bitcoind?
Post by: elebit on June 19, 2013, 10:34:46 PM
Probably not. I've run it on 1GB RAM and it crashed intermittently (not very often, but it happened) with out of memory errors.

You probably want more disk too, that blockchain won't grow any slower you know.


Title: Re: Minimum spec vps to support bitcoind?
Post by: grue on July 01, 2013, 01:57:48 AM
After some further testing:

512mb RAM is enough if you have swap enabled. On my vmware server, it runs fine with no crashes. However, on openvz servers, it will run out of ram. 1 GB total ram should be enough for openvz systems.


Title: Re: Minimum spec vps to support bitcoind?
Post by: Abdussamad on July 01, 2013, 02:06:07 AM
I had swap on my openvz vps. 256mb of vswap + 768mb dedicated RAM. Yet it wasn't enough. But I was using 0.8.2. I hear there are some bug fixes for memory problems in 0.8.3. So maybe less RAM will do for the newer version.