You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Victor Dogaru (JIRA)" <ji...@apache.org> on 2016/03/08 21:41:40 UTC

[jira] [Created] (QUARKS-13) Start over Quarks when Quarks crashes

Victor Dogaru created QUARKS-13:
-----------------------------------

             Summary: Start over Quarks when Quarks crashes
                 Key: QUARKS-13
                 URL: https://issues.apache.org/jira/browse/QUARKS-13
             Project: Quarks
          Issue Type: New Feature
          Components: Runtime
            Reporter: Victor Dogaru


Thinking of a mechanism which restarts the Quarks application if the JVM running Quarks hangs or closes unexpectedly. These options come to mind:
- Write a script which checks for the pid of the jvm process running Quarks and restarts Quarks if the pid is not there. Run the script every minute using a cron job.
- Setup Quarks app to run as a Linux service. Use inittab or systemd to manage Linux services and have options to restart a managed process automatically.

There is also the hardware option. Embedded platforms frequently rely on watchdog hardware that resets it automatically if software stops periodically signalling the hardware that it is still alive.

Anyone have any thoughts on this?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)