Skip to main content

Redis Cache Performance Issue

If you are getting below error on your CD servers then it could be related with Azure Redis Cache issue.


ERROR Application error.
Exception: System.TimeoutException
Message: Timeout performing EVAL, inst: 1, mgr: Inactive, err: never, queue: 144, qu: 0, qs: 144, qc: 0, wr: 0, wq: 0, in: 65536, ar: 0, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=526,Free=32241,Min=550,Max=32767), clientName: RD00155D427872
Source: StackExchange.Redis.StrongName
   at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)
   at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)
   at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags)
   at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.<>c__DisplayClass12_0.<Eval>b__0()
   at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryForScriptNotFound(Func`1 redisOperation)
   at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryLogic(Func`1 redisOperation)
   at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.Eval(String script, String[] keyArgs, Object[] valueArgs)
   at Sitecore.SessionProvider.Redis.RedisConnectionWrapper.TryTakeWriteLockAndGetData(String sessionId, DateTime lockTime, Object& lockId, ISessionStateItemCollection& data, Int32& sessionTimeout)
   at Sitecore.SessionProvider.Redis.RedisSessionStateProvider.GetItemFromSessionStore(Boolean isWriteLockRequired, HttpContext context, String id, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actions)
   at Sitecore.SessionProvider.Redis.RedisSessionStateProvider.GetItemExclusive(HttpContext context, String id, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actions)
   at System.Web.SessionState.SessionStateModule.GetSessionStateItem()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

",800027ef-0003-d100-b63f-84710c7967bb

Solution

Please go through this KB article.

Comments

Popular posts from this blog

How to Install Docker Desktop 2.3.0.4 on Windows

There are two types of installer one is Community and other is Enterprise. Here I am discussing how we can install Docker Desktop Community version on Windows 10. Please find here latest stable version of Docker and run installer. Prerequisites Hyper-v manager should be installed and enable. If not installed then run below command through Windows Powershell using Admin Privileges. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName Containers -All Server Service should be started and enabled. If this is disabled then enable the service and start using admin Privileges. Errors during Direct Installation If you would try to run installer directly, you would get below error while installing Docker Desktop it means that Server Service is not started on your machine. So, please Restart Server Service. [22:51:02.244] [InstallHandler] No installation found [22:51:02.246] [InstallHandler] Using embedded package [22:51:...

Azure Pipelines with Sitecore TDS Project

Azure DevOps with Sitecore TDS Project Azure DevOps provides Build and Release Pipeline feature for Continuous Integration and Continuous Deployment. Before TFS 2017/VSTS/Azure DevOps, we used to have had Build Server to support deployment where we had all required binaries. But since when Hosted agent has been launched we need to setup Build Pipeline this way so that Hosted agent could build our solution. We should add all required dlls reference from NuGet package so that Hosted agent could restore from NuGet library while build the solution. This is good for normal ASP.NET MVC project but how TDS dependency would be resolved in Sitecore Project with TDS on Build Server. How to Set Up Azure Build Pipeline for Sitecore TDS Prerequisites: TDS version should be minimum 5.8.0.6 Open your Sitecore Project. Open Package manager Console Check your installed TDS version and Execute below command PM> Install-Package HedgehogDevelopment.TDS -Version x.x.x.x Above step will installed TDS bi...

How to Convert Azure Pipelines to YAML Pipeline

What is Azure YAML Pipeline? YAML is a new markup language what provides single unified experience to developers to manage Continuous Integration and Continuous Delivery at a single place. How to Convert Azure Build Pipeline to YAML Pipeline Go to Build Pipeline to which you want to convert. Get your YAML text as per below image and copy to notepad. You would also noticed that there would be some warnings at top. We need to define variables. Create a New Pipeline. Select Azure Git Repository. Select ASP.NET Template. Default YAML pipeline would be like below # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4 trigger : -  master pool :    vmImage :  'windows-latest' variables :    solution :  '**/*.sln'    buil...