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=insightforaltcoinsare 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.