You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Will Marshall (JIRA)" <ji...@apache.org> on 2016/03/15 22:01:33 UTC

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

    [ https://issues.apache.org/jira/browse/QUARKS-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196249#comment-15196249 ] 

Will Marshall commented on QUARKS-13:
-------------------------------------

Both of these solutions seems specific to POSIX and Linux, which is fine, but I also think there should be a solution for platforms like windows.

> 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
>              Labels: failure-recovery
>
> 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)