Application Pools not starting after iisreset

后端 未结 5 1139
孤城傲影
孤城傲影 2021-02-08 13:06

Before I start, I know using iisreset is considered bad practice, but this shouldn\'t happen anyway..

What we have:

  • Several ma

相关标签:
5条回答
  • 2021-02-08 13:35

    The application pools should restart on an iisreset, but they do run outside of iis (in COM+) for reliability. This mean they may may not come back if the application is misbehaving, but IIS and the other apps will(should) come back. So yes, This is "normal".

    P.S. I would also like to "OUT" myself as a proud user of iisreset. Bad practice? Bah! ;D

    0 讨论(0)
  • 2021-02-08 13:40

    In a prior support role, I managed several IIS servers running all kinds of .NET mess. When an AppPool failed to start, it was usually a bad login credential.

    0 讨论(0)
  • 2021-02-08 13:43

    IIS does not immediately start ASP.NET worker processes (w3wp.exe) until the first request comes in. When you say "not started", does it mean you attempt to access some WCF web services (after iisreset), and you get a Service Unavailable error because the appPool cannot be started? Do you see any IIS W3SVC related entries in the Event logs?

    If there are, they may be able to clue you in why they cannot start; post them up here.

    0 讨论(0)
  • 2021-02-08 13:49

    Reason:

    IIS does not immediately start ASP.NET worker processes (w3wp.exe) until the first request comes in. When it says "not started" it mean you attempt to access some WCF web services (after iisreset) failed due to object was holding some space in memory, and you get a Service Unavailable error because the appPool cannot be started.

    Workaround:

    Create Batch file with following commands & schedule it.

    net stop 23svc

    net stop msftpsvc

    net stop smtpsvc

    net stop PleskControlPanel

    net stop HTTPFilter

    iisreset /restart

    net start w3svc

    net start msftpsvc

    net start smtpsvc

    net start PleskControlPanel

    net Start HTTPFilter

    0 讨论(0)
  • 2021-02-08 14:00

    Had similiar issue - after IIS has been restarted, DefaultAppPool was stopped.

    In application event logs found an error:

    Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, or that your network is functioning correctly. If this problem persists, contact your network administrator.
    DETAIL - Access is denied.

    Fixed by setting in DefaultAppPool Advanced Settings option Load User Profile to False.

    Hope it could be usefull.

    0 讨论(0)
提交回复
热议问题