-
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
StackExchange.Redis.RedisTimeoutException #2705
Comments
ConfigurationOptions RedisConn:allowadmin=true,ConnectTimeout=15000,SyncTimeout=15000,abortConnect=false, I dot not know if the setting time is too long cause the problem. |
ThreadPool.SetMinThreads(300, 300); set min threads |
I have the exact problem. The thread pool set to max, whenever the issue happens the free thread count is like 998-996... When it happens, the OPC.UA client also fails and keep alive fails. If I disable redis operations everything is good. I don't have any proves but it feels like library creates a deadlock on TCP layer. |
I have encountered this timeout issue using StackExchange.Redis .
this is the timeout exception When the data volume is relatively large:
StackExchange.Redis.RedisTimeoutException: The message timed out in the backlog attempting to send because no connection became available, command=GET, timeout: 15000, inst: 13, qu: 531, qs: 0, aw: False, bw: CheckingForTimeout, rs: ComputeResult, ws: Idle, in: 0, in-pipe: 1261, out-pipe: 0, last-in: 0, cur-in: 23, sync-ops: 0, async-ops: 4655, serverEndpoint: services.zkgt.com:6379, conn-sec: 0.09, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: WIN-QNICAM20MQQ(SE.Redis-v2.7.33.41805), IOCP: (Busy=1,Free=999,Min=300,Max=1000), WORKER: (Busy=43,Free=32724,Min=300,Max=32767), POOL: (Threads=244,QueuedItems=0,CompletedItems=897557,Timers=207), v: 2.7.33.41805 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
Thanks
The text was updated successfully, but these errors were encountered: