Cache Service becomes unavailable
-
Friday, January 20, 2012 3:36 AM
We are using AppFabric cache service on a Windows 2008 R2 hyper v. Configuration is in SQL2005 database.
Cache service becomes unavailable every few days.
When cache cluster is restarted, everything works fine.
Any ideas on what can be wrong?
Thanks
All Replies
-
Friday, January 20, 2012 4:32 AM
Are you running more roles on the same server ?
What does get-cachehost command return ? please go through this link also : http://msdn.microsoft.com/en-us/library/ff921023.aspx
-
Friday, January 20, 2012 11:51 AMCheck the memory used by the cache service around the time of the crashes. Is it possible there's a leak ?
-
Friday, January 20, 2012 2:28 PM
The server has following roles:
Application Server
File Services
Web Server (IIS)
-
Friday, January 20, 2012 2:51 PMWe usually dont recommend to run other services with the cache host service.
What does get-cachehost return when a host goes down ? Also what does get-cacheclusterhealth ? Are there any events on the server ? -
Thursday, January 26, 2012 1:52 PM
When the cache is not working
get-cachehost returns - Service Status: Down
get-cacheclusterhealth returns - Unallocated fraction = 50.00 (Since we have two named caches default and ServicesCache)
-
Thursday, January 26, 2012 8:02 PMWhen the service goes down, there is usually an event (111 if it crashed) , can you check what events your servers are throwing ? If you find it, please post the full stack here.
-
Thursday, January 26, 2012 11:15 PM
Following is from the event logs. There are no Critical or Error events related to caching service.
--------------
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="AppFabricCachingService" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-01-26T09:02:30.000000000Z" />
<EventRecordID>85572</EventRecordID>
<Channel>Application</Channel>
<Computer>ComputerName.DomainName.com</Computer>
<Security />
</System>
- <EventData>
<Data>Service has been successfully shut down.</Data>
</EventData>
</Event>
---------------
Database backed up. Database: AppFabricCaching, creation date(time): 2011/10/14(22:03:47), pages dumped: 1, first LSN: 139:2970:45, last LSN: 139:2989:1, number of dump devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'{A5868B28-2383-4CAC-8F14-8C0A6608C249}3'}). This is an informational message only. No user action is required.
-
Tuesday, January 31, 2012 3:04 PM
The AppFabric caching service is currently installed on a virtual machine. Does it need to be on a physical server?
-
Thursday, February 02, 2012 5:06 AM
There is no such restriction, why the service is shutting down would need more investigation and probably traces.The AppFabric caching service is currently installed on a virtual machine. Does it need to be on a physical server?

