The Wayback Machine - https://web.archive.org/web/20220211164622/https://github.com/dotnet/aspnetcore/issues/40147
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

Is there something like IIS recycling periodically for Kestrel server on Linux? #40147

Open
vladimir-cheverdyuk-altium opened this issue Feb 11, 2022 · 0 comments

Comments

@vladimir-cheverdyuk-altium

I re-read all documentation of how to host ASP.NET website on Linux and in all cases it is Apache or nginx that just forwards traffic to Kestrel server that is running as service.

But is there any way to recycle ASP.NET periodically on Linux? Or shutdown web suite when it is idle and start on first request?

I can restart service by timer, but it will affect requests it is processing and for some time (few seconds) new requests will not be processed.

Thank you,
Vlad

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

Successfully merging a pull request may close this issue.

None yet
2 participants