Author

Topic: Bitcoin daemon becomes slow and unresponsive (Read 1139 times)

newbie
Activity: 322
Merit: 0
January 14, 2016, 08:17:45 AM
#5
what do you mean by "account"?

you should not use bitcoin-cores account feature for a site as the result wont be what you think (please search in the tech section for the exact reason).
I mean every time when user wins the wallet transfers money from main account to user's account. User is able to manage the coins related to his account.
Here is an example.
Code:
{
        "account" : "",
        "category" : "move",
        "time" : 1452705552,
        "amount" : 12345.00000000,
        "otheraccount" : "user890",
        "comment" : ""
    }
sr. member
Activity: 252
Merit: 250
what do you mean by "account"?

you should not use bitcoin-cores account feature for a site as the result wont be what you think (please search in the tech section for the exact reason).
newbie
Activity: 322
Merit: 0
There is a web application which creates for each user its own account in wallet. Main problem is the bitcoin daemon with time becomes slow and almost does not load new blocks from network.
I reckon the reason is the huge number of "move" RPC command (which transfer coins from main account to user's account). In these conditions Bitcoin daemon uses more than 50% of CPU and 30% of MEM.
Main problem is how to force daemon to load new blocks. Any suggestions?

Get better hardware that has a faster cpu, faster/more RAM, and a disk with a high read/write speed (e.g. SSD) since a lot of those operations involve the wallet and constantly reading and writing the wallet to and from the disk.

Thanks for reply. Actually I was hoping someone say me that problem has an another origin and how to solve it.
Any other suggestion how to force daemon to load blocks?
staff
Activity: 3374
Merit: 6530
Just writing some code
There is a web application which creates for each user its own account in wallet. Main problem is the bitcoin daemon with time becomes slow and almost does not load new blocks from network.
I reckon the reason is the huge number of "move" RPC command (which transfer coins from main account to user's account). In these conditions Bitcoin daemon uses more than 50% of CPU and 30% of MEM.
Main problem is how to force daemon to load new blocks. Any suggestions?

Get better hardware that has a faster cpu, faster/more RAM, and a disk with a high read/write speed (e.g. SSD) since a lot of those operations involve the wallet and constantly reading and writing the wallet to and from the disk.
newbie
Activity: 322
Merit: 0
There is a web application which creates for each user its own account in wallet. Main problem is the bitcoin daemon with time becomes slow and almost does not load new blocks from network.
I reckon the reason is the huge number of "move" RPC command (which transfer coins from main account to user's account). In these conditions Bitcoin daemon uses more than 50% of CPU and 30% of MEM.
Main problem is how to force daemon to load new blocks. Any suggestions?
Jump to: