如果 Windows 索引服务未对 Web.Config 建立索引,它是否可以重新启动应用程序池?
我正在与我的一位同事就这个问题进行轻微的辩论。
设想: 网站有一个使用 Windows 索引服务编制索引的子目录。 此目录中没有 web.config,并且索引服务未索引作为站点根目录的父目录。 某些原因导致应用程序池在所谓的随机时间重新启动。
根据我在网上找到的信息,Windows 索引服务唯一会导致应用程序池重新启动的情况是它正在对 web.config(或 machine.config)建立索引。 我的同事说索引服务导致重新启动只是因为它位于根目录的子文件夹中。
那么...有人对此有任何信息或经验吗? 如果索引服务正在索引根目录的子文件夹而不是根目录本身,是否会导致 IIS 重新启动站点的应用程序池?
编辑: 有问题的子目录不是 bin 目录。 我知道这也会导致这样的情况; 但是,bin 目录不是索引服务的目标。
I am having a slight debate with a colleague of mine on this subject.
Scenario:
A web site has a sub directory that is indexed using the Windows Indexing Service. There is not a web.config in this directory and the indexing service is not indexing the parent directory which is the site root. Something is causing the app pool to restart at supposedly random times.
From what I am finding online, the only time the Windows Indexing service would cause an app pool restart is if it's indexing the web.config (or machine.config). My colleague is saying that the indexing service is causing the restarts just because it's in a child folder of the root.
So...does anyone have any information or experience on this? If the indexing service is indexing a child folder of the root but not the root directory itself, can it cause IIS to restart the site's app pool?
EDIT:
The sub directory in question is NOT the bin directory. I know it would cause such as well; however, the bin directory is not the target of the indexing service.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对此进行了一些测试,看起来索引服务不会触及它所指向的目录之上的任何目录。
Ran some tests on this and it would appear that the indexing service does not touch any directory above the directory it's pointed at.