Umbraco 7在生产服务器上运行缓慢并不断重新启动
在我的笔记本电脑上,umbraco项目运行得很好,但当我把它放在生产服务器上时,后端速度非常慢 VPS的规格:Umbraco 7在生产服务器上运行缓慢并不断重新启动,umbraco,iis-8,umbraco7,Umbraco,Iis 8,Umbraco7,在我的笔记本电脑上,umbraco项目运行得很好,但当我把它放在生产服务器上时,后端速度非常慢 VPS的规格: Windows Server 2012 1个CPU,2个内核2.2Ghz 4Gb内存 IIS8 MSSQL Express Umbraco版本 7.4.1 此外,当我在后端添加新节点或其他更改时,它有时会挂起,然后在日志中看到应用程序已重新启动 日志见下文: 日志规则 2016-03-23 09:59:36,936 [P2616/D99/T30] INFO Umbraco.Cor
- Windows Server 2012
- 1个CPU,2个内核2.2Ghz
- 4Gb内存
- IIS8
- MSSQL Express
2016-03-23 09:59:36,936 [P2616/D99/T30] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: ConfigurationChange
_shutDownMessage=IIS configuration change
HostingEnvironment initiated shutdown
HostingEnvironment caused shutdown
_shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
at System.Web.Hosting.PipelineRuntime.StopProcessing()
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
2016-03-23 09:59:49,483 [P2616/D100/T36] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: ConfigurationChange
_shutDownMessage=IIS configuration change
HostingEnvironment initiated shutdown
HostingEnvironment caused shutdown
_shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
at System.Web.Hosting.PipelineRuntime.StopProcessing()
有人对此有建议吗?我最近也遇到了同样的问题,因为它强制进行了配置更改,所以我开始检查索引 请尝试此操作,转到/config/testesettings.config 并对供应商进行评论
<providers>
<!--
<add name="InternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
supportUnpublished="true"
supportProtected="true"
analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
<add name="InternalMemberIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
supportUnpublished="true"
supportProtected="true"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>
<add name="ExternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"/>
-->
</providers>
每次保存某些内容时,它都会停止重新启动应用程序池,但我不知道为什么索引器会强制刷新此问题的Windows Server 2012 R2修补程序可以找到-一旦安装,此问题将不再发生。可能需要安装此修补程序:另外:始终确保指定您的umbraco版本,可能是一个已经修复的错误。@sebastiaan感谢英特尔我将测试它。版本是7.4.1。当索引损坏时,有时也会发生这种情况。我认为您需要删除的是
App\u Data
文件夹(umbraco将重建该文件夹),但请先备份它!这个人帮我整理好了。