6
3
I have 1GB of memory to work with on my VPS.
I want to run bitcoind as well as a few other crypto currency daemons.
As it stands, number of connections seem to be the only value I can change that has any impact on my memory usage.
I have bitcoind set to 10 connections at the moment and it is consuming a steady 400MB of memory during this time.
What are the consequences of lowering the number of connections to say 2 or 1?
Did your daemon already download the complete block chain? It's possible that block chain downloading is taking up bandwidth, but as soon as you are fully synced, the bandwidth use could be much lower. – Steven Roose – 2013-05-08T09:26:54.010
Are you accepting incoming transactions? (If so, STOP your bitcoind now!). – Stephen Gornick – 2013-05-08T09:52:28.977
@StevenRoose He's talking about RAM, not bandwidth. – julian-goldsmith – 2013-05-08T15:31:33.923
1@StephenGornick why should I STOP my bitcoind if I am accepting incoming connections? Did you mean to make this comment on my question? – user3145 – 2013-05-08T16:18:15.580
2How can having more connections open significantly increase the RAM memory used? – Steven Roose – 2013-05-08T17:50:35.033
1@user3145 Absolutely yes, stop accepting incoming connections if you are a merchant and recognize payments on 0/unconfirmed transaction status. It has been proven that doing that makes you vulnerable to double spending against you somewhere around 100% of the time, roughly speaking. If you instead are a merchant that waits for six confirmations then you are fine accepting incoming transactions. – Stephen Gornick – 2013-05-10T09:23:36.477
And what happens with 1 confirmations? Are they also vulnerable? – BvuRVKyUVlViVIc7 – 2013-12-06T16:15:58.660