应用程序池自动停止 [英] Application Pool Stops automatically

查看:85
本文介绍了应用程序池自动停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,





我有一个托管在Windows 2008服务器和.net framework 2.0上的网站。有很多网站,但一个网站的应用程序傻瓜突然停止,我甚至不知道,直到我浏览网站,这发生每10天或5天有时20天或更长时间。

如何找出为什么它会自行停止,有没有办法在我的应用程序或IIS中添加内容,所以我收到一封电子邮件,当应用程序池停止时。



谢谢大家。

Hello Guys,


I have a website which hosted on windows 2008 server and .net framework 2.0. There are many websites but one website's application fool stops suddenly and i don't even know untill i browse the website and this happening every 10 days or 5 days sometimes 20 days or more.
How to find out why it is stopping on its own , and is there a way i add something to my application or to the IIS , so i recieve a email, when the application pools stops.

Thanks guys.

推荐答案

当失败次数(与该应用程序池相关)超过最大失败次数属性设置为该应用程序池的高级设置。您可以在服务器的事件查看器中查看应用程序失败的原因。


理想情况下,您应该纠正应用程序失败的原因并修复它们,如果你不希望你的IIS停止你的应用程序池,那么你可以按照以下步骤。



1)打开IIS。

2)右键单击您的应用程序池并选择高级设置

3)设置快速失败保护 - > 已启用为False。
IIS stops Application-Pool when number of failures(related to that Application-Pool) exceeds value of "Maximum Failures" Property set into the "Advanced Settings" of that Application-Pool. You may review cause of failures of your Application in "Event Viewer" of the Server.

Ideally you should rectify cause of your application failures and fix them, If you do not want your IIS to stop your Application-Pool then you may follow below steps.

1) Open IIS.
2) Right click on your Application-Pool and select "Advanced Settings".
3) Set "Rapid-Fail Protection" -> "Enabled" to False.


虽然可能有多种原因导致出现这种情况,但在此特定情况下,由于应用程序池失败,因此发生了503错误开始。这是因为最近为应用程序池尝试运行的标识更改了密码。修复是去IIS管理器 - >应用程序池 - >高级设置 - >过程模型 - >身份并将密码设置为新密码。



它还有助于检查事件查看器日志(事件查看器(本地) - > Windows日志 - >应用程序在继续进行故障排除之前查找特定的故障原因。
While there may be several reasons why this may occur, in this specific case, the 503 error was occurring because the Application pool failed to start. This was because the password was changed recently for the Identity under which the application pool was trying to run. Fix was to go to the IIS Manager-> Application Pool -> Advanced Settings -> Process Model -> Identity and set the password to the new one.

It would also help to check the Event Viewer Logs(Event Viewer (Local) -> Windows Logs -> Application to look for specific causes of failure before proceeding to troubleshoot any further.


http://weblogs.asp.net/nannettethacker/archive/2009/01/08/windows-2008-and-iis7-application-pool- stopped.aspx [ ^ ]



您应该检查IIS进程是否意外停止。

http://support.microsoft.com/kb/919789/en [ ^ ]


这篇关于应用程序池自动停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆