Author

Topic: Insight become unresponsive after few minutes/hours (Read 413 times)

legendary
Activity: 1148
Merit: 1001
things you own end up owning you
IIRC, there is a bug in bitcoind which results in 100% CPU usage when no peers are available. It never happens on the Bitcoin network, but it's noticeable with altcoins.

https://github.com/bitcoin/bitcoin/issues/6903

interesting! but do you think that Insight-bitcore-api has the same issue ? if so, what would be a proper solution for that?... really strange, I am wondering how all the insight forks are doing just fine ?

Is there a good guide/wiki on how to import insight for another coin ? maybe I am missing something here, because I tried to do this with two coins and got the same issue with both of them !!! ,


I tried installing forever, but that doesn't really help, forever would be great only if insight would crash instantly after having the issue.
Check here  http://devtome.com/doku.php?id=insightforaltcoins
are you sure that the problem stems from Insight-bitcore-api ?


that was my reference guide, and at this point I am not sure of anything anymore, I tried a complete clean linux setup, I upgraded the VM then installed nodejs, forever, git, build-essential, htop, nginx, libboost-all-dev, libdb++-dev, libminiupnpc-dev, libcurl4-openssl-dev .... that is it, and edited the config, networks.js and RpcClient.js, Peersync.js, and Blockextractor.js to suite my coin.

Insight launch without any issues works like a charm for few minutes to a couple of hours then one instance goes to 100% and it becomes unresponsive. see the process that become unresponsive in the picture below.

I raised this issue on GitHub, but Bitpay don't answer/close any issues anymore.


legendary
Activity: 1274
Merit: 1006
Trainman
IIRC, there is a bug in bitcoind which results in 100% CPU usage when no peers are available. It never happens on the Bitcoin network, but it's noticeable with altcoins.

https://github.com/bitcoin/bitcoin/issues/6903

interesting! but do you think that Insight-bitcore-api has the same issue ? if so, what would be a proper solution for that?... really strange, I am wondering how all the insight forks are doing just fine ?

Is there a good guide/wiki on how to import insight for another coin ? maybe I am missing something here, because I tried to do this with two coins and got the same issue with both of them !!! ,


I tried installing forever, but that doesn't really help, forever would be great only if insight would crash instantly after having the issue.
Check here  http://devtome.com/doku.php?id=insightforaltcoins
are you sure that the problem stems from Insight-bitcore-api ?


legendary
Activity: 1148
Merit: 1001
things you own end up owning you
IIRC, there is a bug in bitcoind which results in 100% CPU usage when no peers are available. It never happens on the Bitcoin network, but it's noticeable with altcoins.

https://github.com/bitcoin/bitcoin/issues/6903

interesting! but do you think that Insight-bitcore-api has the same issue ? if so, what would be a proper solution for that?... really strange, I am wondering how all the insight forks are doing just fine ?

Is there a good guide/wiki on how to import insight for another coin ? maybe I am missing something here, because I tried to do this with two coins and got the same issue with both of them !!! ,


I tried installing forever, but that doesn't really help, forever would be great only if insight would crash instantly after having the issue.
sr. member
Activity: 412
Merit: 266
IIRC, there is a bug in bitcoind which results in 100% CPU usage when no peers are available. It never happens on the Bitcoin network, but it's noticeable with altcoins.

https://github.com/bitcoin/bitcoin/issues/6903
legendary
Activity: 1148
Merit: 1001
things you own end up owning you
I forked Insight for another coin and got it to sync properly, but I am having stability issues, the problem appears few minutes after starting the server, one instance(CPU core) goes to 100% and as a result insight become unresponsive, the only way to solve it is to kill it.

I am wondering if anyone of you has experienced the same issues with insight and how did you solve it ?


Jump to: