23 iulie 2012 03:38
I have a C#.NET windows console application which runs 24*7*365. It creates an AppFabric Cache Factory at its startup, and then checks for some objects in the cache in periodic intervals. However, I see the the below errors at times:
Microsoft.ApplicationServer.Caching.DataCacheException: <ERRCA0017>:SubStatus<ES0001>:There is a temporary failure.
Microsoft.ApplicationServer.Caching.DataCacheException: <ERRCA0017>:SubStatus<ES0002>:There is a temporary failure. Please retry later
Note: these errors are not showing up all the time - they happen intermittently. After an occurance of the error, it seems like the application continues to run successfully.
Whenever the Console application terminates for some reason, there is a Windows service that runs to monitor the application and start it if it is not running. This is fyi.
Could someone please give some pointers to fix the errors?
- Editat de RajeshJoseph 24 iulie 2012 05:37
7 august 2012 15:15
Quite often you will see temporary AppFabric failures, particularly if your network or AppFabric hosts are busy. You should just wait a short time and retry. We access AppFabric cache through a wrapper that automates retries on failure. Technically you should delay retries based on exponential back off, but just permuting a shortish (50-150ms) interval should do.