Skip to content

v0.12.2.1 : masternode dashd crashes and within 10 minutes end up in NEW_START_REQUIRED #1788

Closed

Description

@qwizzie

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.

debug.log

2017-12-19 06:53:33 CGovernanceManager::UpdateCachesAndClean -- Governance Objects: 201 (Proposals: 200, Triggers: 0, Watchdogs: 1/1, Other: 0; Erased: 294), Votes: 508714
2017-12-19 06:53:45 tor: Thread interrupt
2017-12-19 06:53:45 scheduler thread interrupt
2017-12-19 06:53:45 torcontrol thread exit
2017-12-19 06:53:45 addcon thread exit
2017-12-19 06:53:45 opencon thread exit
2017-12-19 06:53:45 mnbcon thread exit
2017-12-19 06:53:45 PrepareShutdown: In progress...
2017-12-19 06:53:45 net thread exit
2017-12-19 06:53:45 msghand thread exit
2017-12-19 06:53:46 Verifying mncache.dat format...
2017-12-19 06:53:47 Loaded info from mncache.dat 767ms
2017-12-19 06:53:47 Masternodes: 4760, peers who asked us for Masternode list: 1, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 111027
2017-12-19 06:53:47 Writing info to mncache.dat...
2017-12-19 06:53:47 Written info to mncache.dat 520ms
2017-12-19 06:53:47 Masternodes: 4789, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 5, entries in Masternode list we asked for: 254, nDsqCount: 111128
2017-12-19 06:53:47 mncache.dat dump finished 1306ms
2017-12-19 06:53:47 Verifying mnpayments.dat format...
2017-12-19 06:53:48 Loaded info from mnpayments.dat 467ms
2017-12-19 06:53:48 Votes: 59331, Blocks: 5961
2017-12-19 06:53:48 Writing info to mnpayments.dat...
2017-12-19 06:53:48 Written info to mnpayments.dat 490ms
2017-12-19 06:53:48 Votes: 59609, Blocks: 5997
2017-12-19 06:53:48 mnpayments.dat dump finished 975ms
2017-12-19 06:53:48 Verifying governance.dat format...
2017-12-19 07:00:43

2017-12-19 07:02:00 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2017-12-19 07:02:00 CActiveMasternode::ManageStateInitial -- INITIAL: Wallet balance is < 1000 DASH
2017-12-19 07:02:00 CActiveMasternode::ManageStateRemote -- NOT_CAPABLE: Masternode in NEW_START_REQUIRED state

Activity

  1. 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
  2. codablock commented on Dec 19, 2017

    @codablock

    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.

  3. codablock commented on Dec 19, 2017

    @codablock

    Please ignore my comment, I see in the historical code that the error was always shown for remote masternodes.

  4. codablock commented on Dec 19, 2017

    @codablock

    @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?

  5. qwizzie commented on Dec 19, 2017

    @qwizzie
    Author

    @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 ?

  6. codablock commented on Dec 19, 2017

    @codablock

    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.

  7. qwizzie commented on Dec 19, 2017

    @qwizzie
    Author

    @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

  8. codablock commented on Dec 27, 2017

    @codablock

    Can we close this one @qwizzie ?

  9. qwizzie commented on Dec 27, 2017

    @qwizzie
    Author

    @codablock

    Sure, i'm closing this one now.
    Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions