Comments (6)
If the running process exits, the supervisor starts it again after 10 seconds, based on the setting restart_policy
:
- never: never restart the process after it exits, regardless it's exit code
- on_failure: restart the process if the exit code is different than 0 (failure)
- always: always restart the process after it finishes
If after restarting the process, it exits again in less than 10 minutes, supervisor considers it unstable and increase it's restart delay to 20 seconds, if it fails again it increases to 40, and so forth. Whenever it runs for 10 minutes, the restart delay is reset to 10 seconds.
from caddy-supervisor.
No.
It can heal the processes it launches and supervise.
But if caddy itself crashes, it doesn't heal itself.
Maybe if you install caddy as a service you can setup it to be restarted after crash. Check the caddy service plugin, maybe it supports that: https://github.com/hacdias/caddy-service
Does that answer your question? If no, please, give me more details.
from caddy-supervisor.
Partly. How does it heal the processes it launches? Automatically?
from caddy-supervisor.
So every software that I put on Caddy can provide the same self healing capabilities as Erlang's VM?
from caddy-supervisor.
Sorry, but I don't know how Erlang's VM healing works, so I can't compare.
from caddy-supervisor.
I see, thanks a lot.
I think this feature is worth mentioning in your README anyways.
Good job :D
from caddy-supervisor.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy-supervisor.