Bitcoin Forum
May 09, 2024, 12:19:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Insight become unresponsive after few minutes/hours  (Read 414 times)
mmitech (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


things you own end up owning you


View Profile
November 11, 2015, 02:10:55 PM
 #1

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 ?


1715213989
Hero Member
*
Offline Offline

Posts: 1715213989

View Profile Personal Message (Offline)

Ignore
1715213989
Reply with quote  #2

1715213989
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715213989
Hero Member
*
Offline Offline

Posts: 1715213989

View Profile Personal Message (Offline)

Ignore
1715213989
Reply with quote  #2

1715213989
Report to moderator
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 275


View Profile
November 11, 2015, 02:28:07 PM
 #2

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

Bitwasp Developer.
mmitech (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


things you own end up owning you


View Profile
November 11, 2015, 04:48:44 PM
 #3

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.
chrisvl
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
November 11, 2015, 05:10:05 PM
 #4

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 ?



mmitech (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


things you own end up owning you


View Profile
November 11, 2015, 05:28:43 PM
 #5

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.


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!