Description
For a while now (~since November 2018), my MN syscoind went down once a month or so. Initially I thought it might be because of low RAM. Last month however I transferred it to a new VPS with 5GB RAM, and today the MN went down again.
The full log from about 20 Minutes before the shutdown is here: https://pastebin.com/nkp7wA7T
There seems to be a connection problem initially:
2019-04-03 09:37:05 CMasternodeMan::CheckAndRemove -- Masternodes: 1580, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 1062
2019-04-03 09:37:23 connect() to [2601:201:8300:72dd::d9e1]:8369 failed after select(): Network is unreachable (101)
[...]
2019-04-03 09:38:34 CActiveMasternode::SendMasternodePing -- Relaying ping, collateral=661f23af1ec0002dcc43234c057bd63aa79340c70707d5efaae2541eb5c22f0e-1
2019-04-03 09:38:35 socket recv error Network is unreachable (101)
Followed by some errors and shutting down:
```2019-04-03 09:52:23 tor: Thread interrupt
2019-04-03 09:52:23 addcon thread exit
2019-04-03 09:52:23 torcontrol thread exit
2019-04-03 09:52:23 net thread exit
2019-04-03 09:52:24 msghand thread exit
2019-04-03 09:52:24 scheduler thread interrupt
2019-04-03 09:52:24 PrepareShutdown: In progress...
2019-04-03 09:52:24 mncon thread exit
2019-04-03 09:52:25 opencon thread exit
2019-04-03 09:52:25 Verifying mncache.dat format...
2019-04-03 09:52:25 ERROR: Read: Failed to open file /home/syscoin/.syscoincore/mncache.dat
2019-04-03 09:52:25 Missing file mncache.dat, will try to recreate
2019-04-03 09:52:25 Writing info to mncache.dat...
2019-04-03 09:52:25 Written info to mncache.dat 86ms
2019-04-03 09:52:25 Masternodes: 1580, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 1062
2019-04-03 09:52:25 mncache.dat dump finished 88ms
2019-04-03 09:52:25 Verifying mnpayments.dat format...
2019-04-03 09:52:25 ERROR: Read: Failed to open file /home/syscoin/.syscoincore/mnpayments.dat
2019-04-03 09:52:25 Missing file mnpayments.dat, will try to recreate
2019-04-03 09:52:25 Writing info to mnpayments.dat...
2019-04-03 09:52:26 Written info to mnpayments.dat 147ms
2019-04-03 09:52:26 Votes: 46643, Blocks: 5011
2019-04-03 09:52:26 mnpayments.dat dump finished 149ms
2019-04-03 09:52:26 Verifying governance.dat format...
2019-04-03 09:52:26 ERROR: Read: Failed to open file /home/syscoin/.syscoincore/governance.dat
2019-04-03 09:52:26 Missing file governance.dat, will try to recreate
2019-04-03 09:52:26 Writing info to governance.dat...
2019-04-03 09:52:26 Written info to governance.dat 22ms
2019-04-03 09:52:26 Governance Objects: 3 (Proposals: 2, Triggers: 1, Other: 0; Erased: 3), Votes: 8409
2019-04-03 09:52:26 governance.dat dump finished 24ms
2019-04-03 09:52:26 Verifying netfulfilled.dat format...
2019-04-03 09:52:26 ERROR: Read: Failed to open file /home/syscoin/.syscoincore/netfulfilled.dat
2019-04-03 09:52:26 Missing file netfulfilled.dat, will try to recreate
2019-04-03 09:52:26 Writing info to netfulfilled.dat...
2019-04-03 09:52:26 Written info to netfulfilled.dat 0ms
2019-04-03 09:52:26 Nodes with fulfilled requests: 0
2019-04-03 09:52:26 netfulfilled.dat dump finished 0ms
2019-04-03 09:52:26 Verifying instantsend.dat format...
2019-04-03 09:52:26 ERROR: Read: Failed to open file /home/syscoin/.syscoincore/instantsend.dat
2019-04-03 09:52:26 Missing file instantsend.dat, will try to recreate
2019-04-03 09:52:26 Writing info to instantsend.dat...
2019-04-03 09:52:26 Written info to instantsend.dat 0ms
2019-04-03 09:52:26 Lock Candidates: 0, Votes 0
2019-04-03 09:52:26 instantsend.dat dump finished 0ms
2019-04-03 09:52:26 Dumped mempool: 4e-06s to copy, 0.002975s to dump
2019-04-03 09:52:26 Shutdown: done
2019-04-04 09:36:04
Also note how the last time stamp is prior to the previous ones.
The current VPS is on latest Debian with 5GB RAM | 75GB HDD | 4 Cores. I use the latest executable from https://github.com/syscoin/syscoin/releases.