Umbraco 7:Write.lock 文件
Umbraco 7: Write.lock file
我们最近将我们的 Umbraco 站点迁移到了 Windows 2012 服务器(之前是 2008 R2)。第一周左右一切都很好,在过去的几天里,我们开始每隔一小时左右收到 write.lock 文件错误。我可以重建索引,stop/restart 应用程序池,但错误总是 returns。使用 Umbraco 7.4.2。有什么想法吗?
谢谢
Umbraco 日志中的一些进一步信息:
System.Exception: 应用程序正在关闭,因此忽略索引批量操作, IndexSet: ABCCorporateCyIndexSet 2016-11-09 16:15:07,513 [P2952/D88/T139]错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=ABCCorporateEnIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:ABCCorporateEnIndexSet 2016-11-09 16:15:07,560 [P2952/D88/T139] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=InternalIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:InternalIndexSet 2016-11-09 16:15:07,560 [P2952/D87/T47] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister - 现在无法写入,因为我们正在关闭,更改可能会丢失。 2016-11-09 16:15:07,576 [P2952/D87/T47] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=InternalIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此索引批处理操作被忽略, IndexSet: InternalIndexSet 2016-11-09 16:15:07,576 [P2952/D87/T47] ERROR UmbracoExamine.DataServices.UmbracoLogService - Provider=ExternalIndexer, NodeId=-1 System.Exception: App is shutdown so索引批处理操作被忽略, IndexSet: ExternalIndexSet 2016-11-09 16:15:07,576 [P2952/D87/T47] ERROR UmbracoExamine.DataServices.UmbracoLogService - Provider=ABCCorporateCyIndexer, NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:ABCCorporateCyIndexSet 2016-11-09 16:15:07,576 [P2952/D87/T47] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=ABCCorporateEnIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:ABCCorporateEnIndexSet 2016-11-09 16:15:07,576 [P2952/D79/T40] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister - 现在无法写入,因为我们正在下降,变化可能会丢失。 2016-11-09 16:15:07,576 [P2952/D79/T40] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=InternalIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此索引批处理操作被忽略, IndexSet: InternalIndexSet 2016-11-09 16:15:07,591 [P2952/D91/T34] 错误 Umbraco.Core.Sync.DatabaseServerMessenger - 分布式缓存未更新。无法执行指令 (24232: "[{"RefreshType":5,"RefresherId":"27ab3022-3dfa-47b6-9119-5945bc88fd66","GuidId":"00000000-0000-0000-0000 -000000000000","IntId":6351,"JsonIds":null,"JsonPayload":null},{"RefreshType":3,"RefresherId":"55698352-dfc5-4dbe -96bd-a4a0f6f77145","GuidId":"00000000-0000-0000-0000-000000000000","IntId":0,"JsonIds":"[6351]","JsonPayload":无效的}]”)。指令正在 skipped/ignored Lucene.Net.Store.LockObtainFailedException: 锁获取超时:NativeFSLock@C:\inetpub\Intranet2\AppData\TEMP\ExamineIndexes\INTRANET01\External\Index\write.lock: System.IO.IOException: 进程无法访问文件 'C:\inetpub\Intranet2\App_Data\TEMP\ExamineIndexes\INTRANET01\External\Index\write.lock' 因为它正在被另一个进程使用。
您的问题可能与以下问题有关:http://issues.umbraco.org/issue/U4-6338
如果您安装了 Windows Server 2012 R2 + IIS 和 KB3000850 或 KB3007507,您将受到影响
Microsoft 已创建修补程序:https://support.microsoft.com/en-us/kb/3052480
我们最近将我们的 Umbraco 站点迁移到了 Windows 2012 服务器(之前是 2008 R2)。第一周左右一切都很好,在过去的几天里,我们开始每隔一小时左右收到 write.lock 文件错误。我可以重建索引,stop/restart 应用程序池,但错误总是 returns。使用 Umbraco 7.4.2。有什么想法吗?
谢谢
Umbraco 日志中的一些进一步信息:
System.Exception: 应用程序正在关闭,因此忽略索引批量操作, IndexSet: ABCCorporateCyIndexSet 2016-11-09 16:15:07,513 [P2952/D88/T139]错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=ABCCorporateEnIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:ABCCorporateEnIndexSet 2016-11-09 16:15:07,560 [P2952/D88/T139] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=InternalIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:InternalIndexSet 2016-11-09 16:15:07,560 [P2952/D87/T47] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister - 现在无法写入,因为我们正在关闭,更改可能会丢失。 2016-11-09 16:15:07,576 [P2952/D87/T47] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=InternalIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此索引批处理操作被忽略, IndexSet: InternalIndexSet 2016-11-09 16:15:07,576 [P2952/D87/T47] ERROR UmbracoExamine.DataServices.UmbracoLogService - Provider=ExternalIndexer, NodeId=-1 System.Exception: App is shutdown so索引批处理操作被忽略, IndexSet: ExternalIndexSet 2016-11-09 16:15:07,576 [P2952/D87/T47] ERROR UmbracoExamine.DataServices.UmbracoLogService - Provider=ABCCorporateCyIndexer, NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:ABCCorporateCyIndexSet 2016-11-09 16:15:07,576 [P2952/D87/T47] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=ABCCorporateEnIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此忽略索引批处理操作,IndexSet:ABCCorporateEnIndexSet 2016-11-09 16:15:07,576 [P2952/D79/T40] WARN Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister - 现在无法写入,因为我们正在下降,变化可能会丢失。 2016-11-09 16:15:07,576 [P2952/D79/T40] 错误 UmbracoExamine.DataServices.UmbracoLogService - Provider=InternalIndexer,NodeId=-1 System.Exception:应用程序正在关闭,因此索引批处理操作被忽略, IndexSet: InternalIndexSet 2016-11-09 16:15:07,591 [P2952/D91/T34] 错误 Umbraco.Core.Sync.DatabaseServerMessenger - 分布式缓存未更新。无法执行指令 (24232: "[{"RefreshType":5,"RefresherId":"27ab3022-3dfa-47b6-9119-5945bc88fd66","GuidId":"00000000-0000-0000-0000 -000000000000","IntId":6351,"JsonIds":null,"JsonPayload":null},{"RefreshType":3,"RefresherId":"55698352-dfc5-4dbe -96bd-a4a0f6f77145","GuidId":"00000000-0000-0000-0000-000000000000","IntId":0,"JsonIds":"[6351]","JsonPayload":无效的}]”)。指令正在 skipped/ignored Lucene.Net.Store.LockObtainFailedException: 锁获取超时:NativeFSLock@C:\inetpub\Intranet2\AppData\TEMP\ExamineIndexes\INTRANET01\External\Index\write.lock: System.IO.IOException: 进程无法访问文件 'C:\inetpub\Intranet2\App_Data\TEMP\ExamineIndexes\INTRANET01\External\Index\write.lock' 因为它正在被另一个进程使用。
您的问题可能与以下问题有关:http://issues.umbraco.org/issue/U4-6338
如果您安装了 Windows Server 2012 R2 + IIS 和 KB3000850 或 KB3007507,您将受到影响
Microsoft 已创建修补程序:https://support.microsoft.com/en-us/kb/3052480