explorer often no response

+2 votes
explorer run very well after install or reset, but often no response over a period of time.

so i have to reinstall the explorer.

anyone can help me, thanks?
asked Feb 7, 2018 by ssls18years

1 Answer

0 votes

Have you tried running the Explorer in two separate processes – one which updates the database and one which delivers the web pages? There are instructions in the README about how to do this, and it may help with performance.

answered Feb 9, 2018 by MultiChain
Yes, i do it follow the two step in README:
* python -m Mce.abe --config chain1.conf --commit-bytes 100000 --no-serve
* nohup python -m Mce.abe --config chain1.conf &

When the explorer no response, I can kill the python process and remove the sqlite database file and nohup.out. and redo the two step. but the problem still exist.

I watch the nohup.out , found some error like this: reset by peer.

I don't know the reason and often reset explorer is not a good solution.

I think the explorer should use try ...except to avoid it : https://stackoverflow.com/questions/20568216/python-handling-socket-error-errno-104-connection-reset-by-peer
...