StackExchange.Redis 异步超时解决方案

Timeout awaiting response (outbound=0KiB, inbound=45417KiB, 5891ms elapsed, timeout is 5000ms), command=LRANGE, next: LRANGE user_info_11, inst: 0, qu: 0, qs: 1, aw: False, rs: TryParseResult, ws: Idle, in: 0, in-pipe: 46516384, out-pipe: 0, serverEndpoint: 127.0.0.1:6379, mgr: 9 of 10 available, clientName: WIN-9INBIOT4EOE, IOCP: (Busy=0,Free=1000,Min=32,Max=1000), WORKER: (Busy=1,Free=8190,Min=32,Max=8191), 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)

 

更新 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config 中的 <system.web> 节点

<processModel autoConfig="true"/>

修改为

<processModel autoConfig="false" minIoThreads="250" />

改完重启服务器或iis

 

引用地址:https://stackexchange.github.io/StackExchange.Redis/Timeouts

posted @ 2022-05-19 00:22  Puream  阅读(212)  评论(0编辑  收藏  举报