我们正在使用Microsoft.Web.RedisSessionStateProvider
版本4.0.1。有时我们会收到间歇性超时,这种超时会越来越严重。仅在重新启动我们的Azure App Service之后,错误才会停止。以下是我的Web.Config的值
<add name="RedisSessionProvider"
type="Microsoft.Web.Redis.RedisSessionStateProvider"
port="6380"
ssl="true"
host="example.redis.cache.windows.net"
accessKey="="
abortConnect="false"
connectionTimeoutInMilliseconds = "15000"
operationTimeoutInMilliseconds = "1000"
retryTimeoutInMilliseconds="3000"
connectTimeout="5000"
syncTimeout="5000"/>
下面是超时示例
Timeout performing EVAL (1000ms), next: EVAL, inst: 0, qu: 0, qs: 11, aw: False, rs: ReadAsync, ws: Idle, in: 919, serverEndpoint: Unspecified/example.redis.cache.windows.net:6380, mgr: 10 of 10 available, clientName: ****, IOCP: (Busy=0,Free=1000,Min=100,Max=1000), WORKER: (Busy=18,Free=32749,Min=100,Max=32767), v: 2.0.601.3402 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)