Hi,
Can't make my aspnetcore always running. IIS + GCP. To keep hangfire running.
I've set application pool on always running and restarted pool + set timeout to 0 even if not needed. App runs a couple of days then shuts down.
The IIS AspNetCore Module V2 sends each day:
- Sent shutdown HTTP message to process '3208' and received http status '202' Then:
- Application '/LM/W3SVC/1/ROOT' with physical root 'C:\inetpub\wwwroot' shut down process with Id '3208' listening on port '18285'
And app do not start again
I have another server which is setup like hangfire recommend, and runs flawless (own asp.net app) http://docs.hangfire.io/en/latest/deployment-to-production/making-aspnet-app-always-running.html
Best /Peter
2 Answer(s)
-
0
Hi @PekitP
Could it be something on your server shutting down the application or IIS. Could you send the full log message ? If there are private information, you can send it to [email protected].
Thanks,
-
0
Hi,
Seems like a problem with iis+core https://github.com/aspnet/AspNetCore.Docs/issues/6905
For a remedy I've activated "Application Initialization" on server, so we'll see how that turns out.
Best/Peter