Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add limit to host startup retries #10685

Open
brettsam opened this issue Dec 10, 2024 · 0 comments
Open

Add limit to host startup retries #10685

brettsam opened this issue Dec 10, 2024 · 0 comments

Comments

@brettsam
Copy link
Member

brettsam commented Dec 10, 2024

There are certain scenarios where the host will attempt to startup forever, which can lead to an effectively dead host. This can happen when something in the underlying platform has gone wrong (we see this rarely with SocketExceptions on startup, for example). Instead of trying forever, giving some limit and then shutting down the process would be beneficial to letting the platform attempt to recover.

We'll need to look through all the hosting scenarios to see what the best behavior is here, but retrying forever in these cases doesn't seem like the best behavior.

Alternatively -- the host should report that it is unhealthy after some number of attempted startups so that the platform can take the correct action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant