I rebuilt the farm and suddenly find my brand new AppFabric (aka Distributed Cache service) crashing continuously. I restarted the service in Services.msc and after a few minutes it would stop again. Event Viewer shows the two errors below every time the service crashes. The source of the first is Application Error, and the second is .NET Runtime.
Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17932, time stamp: 0x503285c2
Exception code: 0xe0434352
Fault offset: 0x000000000000caed
Faulting process id: 0x1888
Faulting application start time: 0x01ce23ce18ce0f9e
Faulting application path: c:\Program Files\AppFabric 1.1 for Windows Server\DistributedCacheService.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: c7ee39fc-8fc1-11e2-9030-00155d1f6002
and
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()
At the SP2013 Management Shell, run Use-CacheCluster then Get-CacheHost and the Service Status of the cache host shows as UNKNOWN.
In my case, I fixed this by adding the SharePoint App Pool account to the WindowsFabricAllowedUsers group on the server. The AppFabric service then stopped crashing!
Hi Bernado,
Thanks for your post, it helped me understanding more about Distributed cache service.
There is no “WindowsFabricAllowedUsers” group on my SharePoint server, do you know how to recover it?
Hi Eric, are you on Windows Server 2012? I have had a look at a couple of 2012 servers, and they do not have the WindowsFabricAllowedUsers. Sorry I haven’t had a chance to investigate further and don’t have an answer for you at this stage.
Bernado,
Thanks for your reply.
I have found the reason: WindowsFabricAllowedUsers is created with Service Bus 1.0
Service Bus is relied on the standard AppFabric service.
I think it’s better to install workflow manager 1.0 on a dedicated server (outside of SP2013 farm)
Thanks for posting back with your findings Eric. So did you fix it by installing Service Bus 1.0 and then add the user to that group?
No. After two days of struggling, I gave it up.
It’s easier rebuilding the whole server.
Maybe SP1 can make it more smooth.
Probably a little late on this but for anyone looking to fix Eric’s issue: http://technet.microsoft.com/en-us/library/jj193489.aspx. The group is created from the windows fabric bit.
Thank you!! Solved my issue.
Pingback: AppFabric crashing on SharePoint 2013 | DL-UAT