Base solution for your next web application
Open Closed

Core always running issue - GCP + IIS #7107


User avatar
0
PekitP created

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:

  1. Sent shutdown HTTP message to process '3208' and received http status '202' Then:
  2. 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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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,

  • User Avatar
    0
    PekitP created

    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