如何配置应用程序池IIS 7.5中,当它被停止自动重新启动? [英] How to config application pool in IIS 7.5 automatically re-start when it was stopped?

查看:2985
本文介绍了如何配置应用程序池IIS 7.5中,当它被停止自动重新启动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站下跌,每天几次,当我检查应用程序池(IIS 7.5),我看到它停止,我必须重新开始它手册。我怎样才能设置它,使它自动重启时出现任何错误它被停止。

My website was down several times per day and when I check the application pool (IIS 7.5), I saw it was stopped and I must re-started it manual. How can I setup it so that it automatically restart when it was stopped by any error occurs.

推荐答案

您将需要更改为STARTMODE您的网站从按需运行AlwaysRunning应用程序池。默认情况下IIS将所有应用程序池的OnDemand。

You will need to change the startMode for the application pool your website is running on from onDemand to AlwaysRunning. By default IIS sets all application pools to onDemand.


  1. 在IIS管理器,在连接窗格中单击计算机名称。

  2. 切换到功能视图如果视图不活跃。

  3. 在功能视图的管理部分双击配置编辑器。

  4. 单击该科场的向下箭头,展开system.applicationhost,然后单击应用程序池。

  5. 单击(集合),然后单击日食(...)旁边显示计数领域。

  6. 在集合编辑器,选择您要配置的STARTMODE属性的应用程序池。

  7. 在底部的属性窗口,STARTMODE属性的值设置为AlwaysRunning。

来源:<一个href=\"http://msdn.microsoft.com/en-us/library/ee677285%28v=azure.10%29.aspx\">http://msdn.microsoft.com/en-us/library/ee677285%28v=azure.10%29.aspx

这篇关于如何配置应用程序池IIS 7.5中,当它被停止自动重新启动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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