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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM