SharePoint 2016 and Windows Server 2016. It crashes frequently throwing the following error:
Log Name: Application
Source: Application Error
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: [server name]
Description:
Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b
Exception code: 0xe0434352
Faulting application path: c:\Program Files\AppFabric 1.1 for Windows Server\DistributedCacheService.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Solution:
I followed the steps as specified in this article and so far AppFabric Caching Service is up.
- Open SharePoint 2016 Management Shell as Administrator.
- Type Use-CacheCluster.
- Type Export-CacheClusterConfig .\afconfig.xml. You can change .\afconfig.xml to another location or filename if necessary.
- Open afconfig.xml with Notepad or any other text editor.
- Find and replace <dataCache size=”Medium”> to <dataCache size=”Small”>.
- Find and replace <caches partitionCount=”256″> to <caches partitionCount=”32″>.
- Save and close afconfig.xml.
- Go back to SharePoint 2016 Management Shell as Administrator.
- Type Stop-CacheCluster to ensure that AppFabric Distributed Cache Service is not running.
- Type Import-CacheClusterConfig .\afconfig.xml.
- Type Start-CacheCluster and ensure that all cache hosts are started.
- If the above command exits before all cache hosts are started (in starting condition), wait for a few minutes, then type Get-CacheHost.