English 中文(简体)
是否有办法知道为什么国际会计准则中的申请库重新启动?
原标题:Is there any way to know why an application pool in IIS has restarted?

我有一台Windows服务器,2016年机器,运行IIS 10.0。 它拥有一些申请库。 一个特别的人才库随意重新启动。 这是一个使用量很大的集合体,这种中断对我们来说是一个问题。 我们注意到这一重新启动,因为网站在客户重新认证时,包括重载数百次伙伴关系会议和数千次信号通信连接,因此有些反应不灵。 然后,事情又恢复正常。 我们需要说明为什么该场址重载,以便我们能够解决它所面临的任何问题。

我们尝试过的情况以及我们重新启动的潜在原因:

  • It is not an idle timeout. The site is in heavy use and idle timeout is disabled.
  • It is not an automatic daily recycle. This is disabled.
  • We do not believe it to be a file configuration change such as web.config or something in the in folder. We added fcnMode="Disabled" in the web.config to stop this and have seen no effect. Other sites are not reloading so it s not some kind of global IIS file change.
  • There are no events in Windows Event log pertaining to this in any category. It s like no error occurred. Or it wasn t something that gets logged.
  • The log files in inetpublogsLogFilesW3SVC1 and iislogswwwHTTPERR have no information we can find related to these restarts.

我想澄清的是,这一进程没有被杀死,也没有失败。 该集合的轮椅时间为零。 它更像回收。 每天发生3-6次。

我们能做些什么来找到原因? 我们能够进行的任何伐木——这是否是一种错误,还是重新启动“目的”?

<<>Edit>:——我们发现并添加了<代码>上的标识。 系统.Web.Hosting.Hosting Environment.ShutdownReason ,我们对此抱有希望。 提出这个问题是任何其他想法的。

问题回答

根据我的经验,如果你的申请库自动重新启用,是因为这个网站利用了服务器上的CPU高使用率,因此该系统将自动回收其申请库。 您是否检查了您的申请,并检查了您在您的网站上没有任何限制的情况?





相关问题
Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn t work with Cassini. When I requested ...

Setting hostname in IIS, include www?

I want to set the hostname for a website I m adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the ...

inetpub versus any other folder

I ve run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetputwwwroot?

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

热门标签