SharePoint 2019 AppFabric分布式缓存服务反复崩溃

Question

Hey People,

yup, my Distributed Cache service keeps crashing about 3 minutes after it starts.

This is a fresh, single-server (separate SQL) SP2019 Farm, it includes the Jan 2019 CU.

The service is using the SPFarm account, which is in the WSS_WPG group – which has permissions for the Distributed Cache.

I’ve done some network sniffing and there’s no sign of it trying to do a CRL check.

I’ve unprovisioned and reprovisioned it multiple times.

What am I missing?

Thanks
Craig

Event log errors:

Log Name:      Application
Source:        .NET Runtime
Date:          15/01/2019 11:13:28 AM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CTASPS19A01D.chapmantripp.co.nz
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
   at Microsoft.ApplicationServer.Caching.DistributedObjectManager..ctor(Microsoft.ApplicationServer.Caching.EndpointID[], Microsoft.ApplicationServer.Caching.ServiceConfigurationManager, Microsoft.ApplicationServer.Caching.WcfServerChannel)
   at Microsoft.ApplicationServer.Caching.ServiceLayer.ServiceStart(Boolean)
   at Microsoft.ApplicationServer.Caching.DataCacheServiceBase.ServiceStart(Microsoft.ApplicationServer.Caching.ServiceConfigurationManager, Boolean)
   at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartService(Boolean)
   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()

and Log Name:      Application
Source:        Application Error
Date:          15/01/2019 11:13:28 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CTASPS19A01D.chapmantripp.co.nz
Description:
Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf
Faulting module name: KERNELBASE.dll, version: 10.0.14393.2636, time stamp: 0x5bda7edc
Exception code: 0xe0434352
Fault offset: 0x0000000000034048
Faulting process id: 0x1e98
Faulting application start time: 0x01d4ac55eed9e9e6
Faulting application path: C:\Program Files\AppFabric 1.1 for Windows Server\DistributedCacheService.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 1f2b476d-1aae-47e2-b265-c2f8b260ada6
Faulting package full name: 
Faulting package-relative application ID: 

Answers

Try running this.

Use-CacheCluster

# Stop the Caching Services on all cache hosts in the cluster.
stop-cachecluster

# Export existing cache cluster configuration
Export-cacheclusterconfig -file c:\temp\appfabconfig.txt

# make a copy of "appfabconfig.txt" and name it "appfabconfig2.txt"
# Edit appfabconfig2.txt
# Change <caches partitionCount="256" to "128"

# Import the changes.
Import-cacheclusterconfig c:\temp\appfabconfig2.txt

# Start the Caching Services on all cache hosts in the cluster.
Start-cachecluster

# Stop the Caching Services on all cache hosts in the cluster.
stop-cachecluster

# Import the original settings
Import-cacheclusterconfig c:\temp\appfabconfig.txt

# Start the Caching Services on all cache hosts in the cluster.
Start-cachecluster

原文链接:https://social.technet.microsoft.com/Forums/en-US/43f90535-bf67-4bc6-aabe-bdda856e0292/distributed-cache-service-keeps-crashing-on-start-up?forum=SP2019

发表评论

邮箱地址不会被公开。 必填项已用*标注