Title: Bitcoin daemon becomes slow and unresponsive Post by: Green Lantern on January 13, 2016, 06:40:52 PM 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? Title: Re: Bitcoin daemon becomes slow and unresponsive Post by: achow101 on January 13, 2016, 08:51:24 PM 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. 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.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? Title: Re: Bitcoin daemon becomes slow and unresponsive Post by: Green Lantern on January 14, 2016, 12:06:58 PM 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. 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.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? 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? Title: Re: Bitcoin daemon becomes slow and unresponsive Post by: onemorexmr on January 14, 2016, 12:09:35 PM 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). Title: Re: Bitcoin daemon becomes slow and unresponsive Post by: Green Lantern on January 14, 2016, 12:17:45 PM what do you mean by "account"? 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.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). Here is an example. Code: { |