hassio-addons/addon-influxdb

Feature Request: restart influxd on crash instead of exiting and stopping the addon. #58

vandalon posted onGitHub

Problem/Motivation

It sometimes happens influxd crashes because of a momory issue and then the addon just stops,

Expected behavior

Restart influxd

Actual behavior

addon stops

Steps to reproduce

kill influxd

Proposed changes

Use a wrapper to restart influxd on crash after a cool-down period of several seconds.


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

posted by addons-assistant[bot] over 5 years ago

Docker containers should crash if the application inside them stops working. That is part of the design and best practices of Docker.

Making it restart over and over again, may cause new issues (e.g., other things will start to crash in case the OOM killer starts bashing around).

This request will most certainly not be implemented in this add-on.

posted by frenck over 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests