We learned about throttling in the Setting up eviction recipe earlier in this chapter. In this recipe we will identify the root causes of throttling and learn how to fix them.
In the Windows Server AppFabric cache, a cache host may enter a throttled state when the available physical memory becomes so low that it can no longer write data to the cache. A cache host remains in throttled state until more memory is made available.
Whenever a cache host enters a throttled state, cache clients will start receiving DataCacheException
errors with ErrorCode
= RetryLater
and SubStatus
= Throttled
. To validate that a cache host has entered a throttled state, the following steps should be executed:
1. Use
Get-CacheClusterHealth
and see if any cache (host) has entered into aThrottled
state.2. Use performance counters (as highlighted in the previous recipe) and check for
AvailableMBytes
(under theMemory
group of counters inperfmon.exe)
on each cache host and validate if its...