Heim  >  Fragen und Antworten  >  Hauptteil

c# - StackExchange.Redis 有时会报TimeoutException是什么原因

StackExchange.Redis连接redis服务器,已经使用了单例懒加载,连接串为xxx.xxx.xxx.xxx:6379,abortConnect=false,

由于是多个服务器负载,都使用这一个dll方法连接redis,redis连接数在60-100左右,redis的ops在3000以内,大分部时间,都可以正常请求,但就是不知道什么时候,会报出一个timeout,也不一定是负载高的时候,有时候负责不高也会报,

StackExchange.Redis的版本是最新的1.1.608
web.config <processModel>没有设置,用的默认的
IOCP和WORKER下面的报错中,也没有到一个很高的值

Exception type: TimeoutException 
    Exception message: Timeout performing HGETALL x:object:13493663, 
    inst: 37, mgr: ProcessReadQueue, err: never, queue: 0, qu: 0, qs: 0, qc: 0, wr: 0, wq: 0, in: 0, ar: 1, 
    clientName: FKMLOAO5NQI, 
    IOCP: (Busy=0,Free=1000,Min=24,Max=1000), 
    WORKER: (Busy=20,Free=32747,Min=24,Max=32767), 
    Local-CPU: unavailable (Please take a look at this article for some common client-side issues that can cause timeouts: https://github.com/StackExchange/StackExchange.Redis/tree/master/Docs/Timeouts.md)
PHPzPHPz2704 Tage vor1382

Antworte allen(1)Ich werde antworten

  • 过去多啦不再A梦

    过去多啦不再A梦2017-04-26 09:04:01

    NetCore 下 现在狂报这个错,请问下现在怎么决绝这个问题?

    Antwort
    0
  • StornierenAntwort