TFS 2018 Server Web服务不断关闭和重新启动每一分钟左右,并使用“ bindirChangeDirectoryRename”
我们在Windows Server 2012 R2标准上托管了TFS服务器。最近,我们的TFS Web应用程序开始放慢速度,以至于它几乎无法使用。我们在服务器上进行了一些挖掘,并在事件日志中注意到,TFS服务不断关闭并重新启动关闭消息是“由于以下原因,该应用程序正在关闭:BindiRChangeDirectoryRenreRename” - 我已经检查了该应用程序的BIN文件夹在IIS(C:\ Program Files \ Microsoft Team Foundation Server 2018 \ Application Tier \ Web Services \ bin)中,并检查以查看是否有任何文件已创建或更新的日期 - 什么都没有。我让Process Mon监视事件“ CreateFile”的文件夹,我注意到我们的AV在扫描目录时触发了此事件(我注意到尝试使用Write访问打开文件时触发了CreateFile事件 - 我相信)。认为也许这与它有关,我们停止了AV,但是该应用程序继续每分钟左右关闭。我们对TFS安装进行了维修,以查看这是否解决了我们的问题。不幸的是,没有任何帮助。关于可能导致这个问题的任何建议吗?
We have our TFS Server hosted on Windows Server 2012 R2 Standard. Recently our TFS web application started to slow down to the point that it is almost not usable. We did some digging on the server and noticed in the event logs that the TFS Service keep shutting down and restarting the shut down message is "The application is being shutdown for the following reason: BinDirChangeOrDirectoryRename" - I have checked the bin folder for the application in IIS (C:\Program Files\Microsoft Team Foundation Server 2018\Application Tier\Web Services\bin) and checked to see if any files have recent created or updated dates - nothing. I let process mon monitor the folder for the event "CreateFile" and I noted that our AV was triggering this event as it was scanning the directory (I note that the createFile event is triggered when an attempt is made to open the file with write access - I believe). Thinking that maybe this had something to do with it we stopped the AV, but the Application continues to shut down every minute or so. We did a repair on the TFS install to see if this resolved our problems. Unfortunately nothing is helping. Any suggestions as to what might be causing this issue??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
几年前,我遇到了重大问题,我们的情况肯定与AV扫描和锁定文件夹有关。
应用了几个 repullusions ,它停止了完全地。
I had major issues with this a few years back and our case it was definitely related to AV scanning and locking the folders.
After applying a few exclusions, it stopped completely.
我终于解决了这个问题 - 对于任何遇到类似问题的人 - 我的解决方案是将其添加到app
&lt; httpruntime fcnmode =“ disabled” /&gt; < /code> - 给定在这里
I have finally resolved this - for anyone who is having similar problems - my solution was to add this to the web.config of the app
<httpRuntime fcnMode="Disabled" />
- using the advice given here