-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.TimeoutException: Timeout performing EVAL #508
Comments
I've also met problems like you,how to slove it? |
I have been utilizing StackExchange Redis for a few years with an on-premise Redis installation. But against an Azure Redis cache, we get this during web app deploys - and in my opinion seems to be an issue with the EVAL command the Microsoft RedisSessionStateProvider package is executing to execute its dynamic script on the Redis server. (It must use EVAL because StackExchange uses pipelining). This MS package generates script each time to read, write, or delete session state ids and data. Something in the way the script is written is probably causing issues, because when the error occurs, StackExchange client reports the queue > 1 (usually 8 or more) and qu is 0, qs is 8, and the worker and IOCP threads are below minimum thresholds (Busy=0, Min=2). It usually means we have Timeout issues for a 5-10 minutes, then all of a sudden, everything starts working again. |
If anyone is still hitting issues here please refer to the blog article @doterme helpfully linked above: https://azure.microsoft.com/zh-tw/blog/investigating-timeout-exceptions-in-stackexchange-redis-for-azure-redis-cache/ and open an issue if you're still having trouble :) |
@NickCraver, I still have trouble during web app deploys.
|
please scale to higher sku even if logs shows cpu iddle, and apply timeout limit like 30 sec. |
I've also met problems like you,how to slove it? |
Hi,
I'm hoping someone can help us with an issue we see sporadically. Our website generally sees traffic of about 2,000 - 4,000 requests per minute (>9,000 in peak periods).
I'm not sure on what the triggers are but we see periods where we see a large spike in the type of error seen below (all of them are timeout performing EVAL). We've had incidents whereby the entire site has been down for hours. Since upgrading and tweaking our configuration the incident generally lasts no longer than 30 minutes but often only lasts a few minutes.
Our website is an azure cloud service and we're using a Redis cache in azure. I've raised the incidents with Microsoft but we're no closer to understanding why this happens.
I don't suppose anyone has any suggestions of things to try or look for? We're thinking about setting up a private redis instance running on the same VNET to see if that helps.
Thanks,
Seb
The text was updated successfully, but these errors were encountered: