You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.12.2.1 : masternode dashd crashes and within 10 minutes end up in NEW_START_REQUIRED #1788
This is not the first time this happened to me, something (a bug) is causing masternodes into NEW_START_REQUIRED state, within ten minutes of dashd crash.
changed the title [-]v0.12.2.1 : masternode dashd crashes and within a few minutes end up in NEW_START_REQUIRED[/-][+]v0.12.2.1 : masternode dashd crashes and within 10 minutes end up in NEW_START_REQUIRED[/+]on Dec 19, 2017
Are you using a local masternode? The error I see in your log suggests so. Support for local masternodes has been removed in the upcoming 12.2.2 release because it was unstable and not used much. Also, it's not the best choice for a masternode setup because it requires you to hold the collateral on the internet-facing node.
I'd suggest to wait for the 12.2.2 release, which will be in the next hours, and then setup a remote masternode.
@qwizzie I can't see any error happening before dashd exits. It looks like a clean exit, caused by an external kill signal. Are you maybe running out of memory?
I'm not totally sure, i have plenty of memory (15 GB) + reserve memory (15 GB), but the Linux server is reserving that memory for itself over time. That however should not prevent this dashd process from getting more memory if it actually needs it.
What worries me far more is that i dont get the time to fix the dashd crash, Dash puts my masternode straight into NEW_START_REQUIRED, without granting me the time window of a hour to fix it.
(As soon as i got the alert from Dash Central that this masternode was having an error i rebooted the server and restarted dashd but it was already too late. masternode got into NEW_START_REQUIRED).
Why does it end up in NEW_START_REQUIRED state that fast ?
Ok, going through the logs again I found the point in time it crashed. Logs suddenly stop at 2017-12-19 05:46:08. How do you start dashd? Any chance you get access to the stuff written to stdout/stderr? If it's started with systemd, journalctl -u dash should help. Unfortunately crash reports/asserts are not written to the debug.log.
NEW_START_REQUIRED is most likely happening because the crash caused your mncache.dat to not be updated. The many signature verification errors that follow after the crash also suggest this. I'm not much experienced with running masternodes, but I assume deleting mncache.dat and waiting for a full mnsync would help in that case. The network still considers your node to be alive and valid at that point, it's just that your own node doesn't know about it because it doesn't know that it successfully sent pings just recently.
I use monit to restart my dashd in case of crashes. However when i get masternode warnings from Dash Central, i reboot the whole server and start dashd manually and then activate monit on that dashd process.
Unfortunetely Dash Central did not provide me with a masternode warning from the earlier crash (05:46:08), it only pushed a notification about the dashd crash at 06:53:45
I was about to issue a restart from cold wallet, when i read your explanation about my NEW_START_REQUIRED issue. So i did as you suggested and removed the mncache.dat (some other dat files as well) and awaited full mnsync.
I'm happy to report my masternode now shows active again and i keep this solution in mind when i have this issue again.
Activity
[-]v0.12.2.1 : masternode dashd crashes and within a few minutes end up in NEW_START_REQUIRED[/-][+]v0.12.2.1 : masternode dashd crashes and within 10 minutes end up in NEW_START_REQUIRED[/+]codablock commentedon Dec 19, 2017
Are you using a local masternode? The error I see in your log suggests so. Support for local masternodes has been removed in the upcoming 12.2.2 release because it was unstable and not used much. Also, it's not the best choice for a masternode setup because it requires you to hold the collateral on the internet-facing node.I'd suggest to wait for the 12.2.2 release, which will be in the next hours, and then setup a remote masternode.codablock commentedon Dec 19, 2017
Please ignore my comment, I see in the historical code that the error was always shown for remote masternodes.
codablock commentedon Dec 19, 2017
@qwizzie I can't see any error happening before dashd exits. It looks like a clean exit, caused by an external kill signal. Are you maybe running out of memory?
qwizzie commentedon Dec 19, 2017
@codablock
I'm not totally sure, i have plenty of memory (15 GB) + reserve memory (15 GB), but the Linux server is reserving that memory for itself over time. That however should not prevent this dashd process from getting more memory if it actually needs it.
What worries me far more is that i dont get the time to fix the dashd crash, Dash puts my masternode straight into NEW_START_REQUIRED, without granting me the time window of a hour to fix it.
(As soon as i got the alert from Dash Central that this masternode was having an error i rebooted the server and restarted dashd but it was already too late. masternode got into NEW_START_REQUIRED).
Why does it end up in NEW_START_REQUIRED state that fast ?
codablock commentedon Dec 19, 2017
Ok, going through the logs again I found the point in time it crashed. Logs suddenly stop at 2017-12-19 05:46:08. How do you start dashd? Any chance you get access to the stuff written to stdout/stderr? If it's started with systemd,
journalctl -u dashshould help. Unfortunately crash reports/asserts are not written to the debug.log.NEW_START_REQUIRED is most likely happening because the crash caused your mncache.dat to not be updated. The many signature verification errors that follow after the crash also suggest this. I'm not much experienced with running masternodes, but I assume deleting mncache.dat and waiting for a full mnsync would help in that case. The network still considers your node to be alive and valid at that point, it's just that your own node doesn't know about it because it doesn't know that it successfully sent pings just recently.
qwizzie commentedon Dec 19, 2017
@codablock
I use monit to restart my dashd in case of crashes. However when i get masternode warnings from Dash Central, i reboot the whole server and start dashd manually and then activate monit on that dashd process.
Unfortunetely Dash Central did not provide me with a masternode warning from the earlier crash (05:46:08), it only pushed a notification about the dashd crash at 06:53:45
I was about to issue a restart from cold wallet, when i read your explanation about my NEW_START_REQUIRED issue. So i did as you suggested and removed the mncache.dat (some other dat files as well) and awaited full mnsync.
I'm happy to report my masternode now shows active again and i keep this solution in mind when i have this issue again.
Thank you for your help, i'm very gratefull.
qwizzie
codablock commentedon Dec 27, 2017
Can we close this one @qwizzie ?
qwizzie commentedon Dec 27, 2017
@codablock
Sure, i'm closing this one now.
Thanks.