edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Dogaru (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QUARKS-13) Start over Quarks when Quarks crashes (Linux)
Date Mon, 04 Apr 2016 19:55:25 GMT

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

Victor Dogaru commented on QUARKS-13:

I agree, this is platform dependent. I'm focusing on Linux in the context of the current JIRA
issue, but solutions for other platforms can be contributed to the project as well.

> Start over Quarks when Quarks crashes (Linux)
> ---------------------------------------------
>                 Key: QUARKS-13
>                 URL: https://issues.apache.org/jira/browse/QUARKS-13
>             Project: Quarks
>          Issue Type: New Feature
>          Components: Runtime
>            Reporter: Victor Dogaru
>            Assignee: 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

View raw message