本文介绍了SharePoint使用的分布式Cahce App Fabric缓存服务在服务器上间歇性崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好团队

我们突然开始在我们的SharePoint服务器场中遇到一个奇怪的问题,其中App Fabric服务在服务器上崩溃了.我们仅在我们的WFE服务器上启动了appfabric服务,但该服务在其中一台WFE服务器上已停止.没有 在服务器上执行的更改,突然之间我们开始遇到问题.该服务将在一段时间后自动启动.在两台服务器上同时启动应用程序结构服务时,请尝试按以下命令运行Get-CacheClusterHealth 由Use-CacheCluster提供,但出现以下错误消息

因此,我们没有在服务器上计划任何补丁程序或升级活动,因此怀疑是否要修复分布式缓存.我检查了Internet上的大多数博客,其中谈到了对分布式缓存的修复.还有其他事吗 我们可以做或可能找到一种方法,为什么突然在农场中出现此问题.

Get-CacheClusterHealth:错误代码< ERRCAdmin040>:SubStatus< ES0001> ;:无法连接到群集中的主机
在第1行:char:1
+ Get-CacheClusterHealth
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          ;:未指定:(:) [Get-AFCacheClusterHealth],DataCacheException
    + FullyQualifiedErrorId:Microsoft.ApplicationServer.Caching.DataCacheException,Microsoft.ApplicationServer.Cachi
    ng.Commands.GetAFCacheClusterHealthCommand

经过几次尝试运行命令后,我们得到了一个输出,其中有未分配的命名缓存部分.在事件日志中,获取以下错误消息

日志名称:    应用程序
资料来源:       .NET运行时
事件ID:      1026
任务类别:无
级别:      错误
关键字:    经典
用户:         N/A
电脑:    
说明:
应用程序:DistributedCacheService.exe
框架版本:v4.0.30319
说明:进程由于未处理的异常而终止.
异常信息:Microsoft.ApplicationServer.Caching.DataCacheException
堆栈:
    at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartServiceCallback(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()

======================

日志名称:    应用程序
资料来源:      应用程序错误
事件ID:      1000
任务类别:(100)
级别:      错误
关键字:    经典
用户:         N/A
说明:
错误的应用程序名称:DistributedCacheService.exe,版本:1.0.4632.0,时间戳:0x4eafeccf
故障模块名称:KERNELBASE.dll,版本:6.1.7601.23864,时间戳:0x595fa988
异常代码:0xe0434352
故障偏移量:0x000000000001a06d
进程ID错误:0x1ee4
错误的应用程序开始时间:0x01d32224104dcf8f
错误的应用程序路径:Windows Server \ DistributedCacheService.exe的C:\ Program Files \ AppFabric 1.1
错误的模块路径:C:\ WINDOWS \ system32 \ KERNELBASE.dll
报告ID:970b307c-8e17-11e7-a66b-005056b542e8

================================================ =====

日志名称:    应用程序
资料来源:     Windows错误报告
事件ID:      1001
任务类别:无
级别:      信息
关键字:    经典
用户:         N/A
说明:
故障桶,类型0
活动名称:CLR20r3
响应:不可用
出租车编号:0

问题签名:
P1:distributedcacheservice.exe
P2:1.0.4632.0
P3:4eafeccf
P4:Microsoft.WindowsFabric.Common
P5:1.0.4619.0
P6:4e9eb6c4
P7:270
P8:87
P9:SWOUM0PNYW4I1S3EYHEY4VNB5OWO0LJ1
P10:
解决方案


Hello Team,

We have started getting a weird issue suddenly in our SharePoint farm where App fabric service is getting crashed on the server. We have the appfabric service started only on our WFE servers, it is getting stopped on one of the WFE server. There were no changes performed on the server, all of sudden we started getting the issue. The service starts automatically after sometime on it's own. When the app fabric service is started on both the server, tried running the command Get-CacheClusterHealth followed by Use-CacheCluster however getting below error message 

Since, we didn't have any patch or upgrade activty planned on server, skeptical to perform the repair of distributed cache. I checked most of the blogs on internet and it talks about performing the repair of the distributed cache. Is there any other thing we can do or possible we can find a way why suddenly this issue started occuring in farm. 

Get-CacheClusterHealth : ErrorCode<ERRCAdmin040>:SubStatus<ES0001>:Failed to connect to hosts in the cluster
At line:1 char:1
+ Get-CacheClusterHealth
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-AFCacheClusterHealth], DataCacheException
    + FullyQualifiedErrorId : Microsoft.ApplicationServer.Caching.DataCacheException,Microsoft.ApplicationServer.Cachi
   ng.Commands.GetAFCacheClusterHealthCommand

After several attempts of running the command we got an output which had Unallocated named cache fractions in it. In the event logs, getting the below error message

Log Name:      Application
Source:        .NET Runtime
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      
Description:
Application: DistributedCacheService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.ApplicationServer.Caching.DataCacheException
Stack:
   at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartServiceCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

=======================

Log Name:      Application
Source:        Application Error
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Description:
Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23864, time stamp: 0x595fa988
Exception code: 0xe0434352
Fault offset: 0x000000000001a06d
Faulting process id: 0x1ee4
Faulting application start time: 0x01d32224104dcf8f
Faulting application path: C:\Program Files\AppFabric 1.1 for Windows Server\DistributedCacheService.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report Id: 970b307c-8e17-11e7-a66b-005056b542e8

====================================================

Log Name:      Application
Source:        Windows Error Reporting
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: distributedcacheservice.exe
P2: 1.0.4632.0
P3: 4eafeccf
P4: Microsoft.WindowsFabric.Common
P5: 1.0.4619.0
P6: 4e9eb6c4
P7: 270
P8: 87
P9: SWOUM0PNYW4I1S3EYHEY4VNB5OWO0LJ1
P10: 
解决方案


这篇关于SharePoint使用的分布式Cahce App Fabric缓存服务在服务器上间歇性崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 04:57