Pages:
Author

Topic: Multiple bitcoind on one machine - page 2. (Read 6097 times)

legendary
Activity: 2940
Merit: 1090
August 06, 2011, 11:41:18 AM
#10
The overhead can be stupendous though.

You mean as in ram usage or are you talking about something else?

i was able to get 2 running successfully for a while on a test server.

I wonder what the record is for the most amount of bitcoind instances running together successfully... anyone running 3 or more?


Even my quite old machines are not having any problems running multiple *coind instances all at once and all on the same user account. (bitcoind  botcoind  britcoind  cdnbitcoind  czbitcoind  devcoind  gmcbitcoind  grfbitcoind  groupcoind  multicoind  namecoind  unbitcoind ...)

-MarkM-


hero member
Activity: 812
Merit: 1000
August 06, 2011, 10:05:09 AM
#9
so i guess the solution is to modify bitcoind so that it can perform the functions of multiple bitcoind instances?
run several wallets at the same time, separately, all from the one binary and one set of ports.
I think I responded to you in the PHP thread. Your only hope is that libbitcoin development group delivers something useable. The core development team is actively working against this goal. What you have here is the essence of using obfuscated C++ code for the purpose of guerrilla warfare amongst the competing software development teams. Satoshi is/was a grand-master of it.

which goal? what's wrong with one instance of bitcoind managing multiple wallets?
legendary
Activity: 2128
Merit: 1073
August 06, 2011, 09:45:33 AM
#8
so i guess the solution is to modify bitcoind so that it can perform the functions of multiple bitcoind instances?
run several wallets at the same time, separately, all from the one binary and one set of ports.
I think I responded to you in the PHP thread. Your only hope is that libbitcoin development group delivers something useable. The core development team is actively working against this goal. What you have here is the essence of using obfuscated C++ code for the purpose of guerrilla warfare amongst the competing software development teams. Satoshi is/was a grand-master of it.
hero member
Activity: 812
Merit: 1000
August 06, 2011, 09:06:05 AM
#7
so i guess the solution is to modify bitcoind so that it can perform the functions of multiple bitcoind instances?

run several wallets at the same time, separately, all from the one binary and one set of ports.
legendary
Activity: 2128
Merit: 1073
August 06, 2011, 08:59:08 AM
#6
You mean as in ram usage or are you talking about something else?
RAM doesn't seem to be a problem. The worst are: disk access queues and disk space usage. Then there's a CPU use spikes and network traffic spikes during operation when separate daemons duplicate their work. Last but not least is the outgoing network connectivity which gets close to launching a non-distributed DoS on the servers when your multi-bitcoind machine restarts after maintenance.

Overall it isn't pretty and it would be hard to maintain and troubleshoot.
full member
Activity: 175
Merit: 102
August 06, 2011, 08:26:40 AM
#5
The overhead can be stupendous though.

You mean as in ram usage or are you talking about something else?

i was able to get 2 running successfully for a while on a test server.

I wonder what the record is for the most amount of bitcoind instances running together successfully... anyone running 3 or more?


I heard of someone running 8. I never did hear how that worked out Smiley
hero member
Activity: 812
Merit: 1000
August 06, 2011, 08:07:24 AM
#4
The overhead can be stupendous though.

You mean as in ram usage or are you talking about something else?

i was able to get 2 running successfully for a while on a test server.

I wonder what the record is for the most amount of bitcoind instances running together successfully... anyone running 3 or more?
full member
Activity: 175
Merit: 102
August 06, 2011, 05:12:38 AM
#3
Is is possible to run multiple bitcoind instances on a single machine?  
Yes. Each one has to be under a different account and use "-rpcport" (documented) and "-port" (undocumented) or "-nolisten". The overhead can be stupendous though.

Instead of "-port" you can use -connectnode and have it connect to an already-running bitcoin to do the peer communication.

And you don't have to run them on a different account, you can just use the -datadir flag to point the second instance to a different folder. It will rebuild its own block chain, or you can copy over the existing one to that data dir.  They'll have separate wallets though.

See Gavin Andresen's instructions here:

https://bitcointalksearch.org/topic/running-on-a-port-other-than-8333-589
legendary
Activity: 2128
Merit: 1073
August 05, 2011, 09:19:01 PM
#2
Is is possible to run multiple bitcoind instances on a single machine?  
Yes. Each one has to be under a different account and use "-rpcport" (documented) and "-port" (undocumented) or "-nolisten". The overhead can be stupendous though.
member
Activity: 76
Merit: 12
August 05, 2011, 09:04:05 PM
#1
Is is possible to run multiple bitcoind instances on a single machine?  

I'm trying to develop some web services.  One of those services needs the ability to process unique wallet files / private keys for each user.  Currently this is impractical because the amount of time it takes to flush and relaunch bitcoind with rescan to load unique wallets.  Even though this takes time, it could be somewhat manageable if I can run a bitcoind for every active user session.  I can use multiple servers, but I'd like to be able run more then one bitcoind per server instance to make more effective use of each server's resources.

I suspect dynamic wallet switching directly in bitcoind is still a bit far off right?

Thanks,
j
Pages:
Jump to: