StackExchange / StackExchange/StackExchange.Redis
getting timeouts on redis server intermittently.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
We recently did a update and get a timeout error it happens every now and then (intermittently) not sure what is causing this.
We had our dev ops check the pc and everything looks fine on the server. we also restart the server and still get this error.
On Portainer we get the follow error:
Timeout performing GET (5000ms), next: GET EFUnknownsCacheDependency, inst: 3, qu: 0, qs: 1, aw: False, rs: ReadAsync, ws: Idle, in: 5, in-pipe: 0, out-pipe: 0, serverEndpoint: redis-server:6379, mc: 1/1/0, mgr: 10 of 10 available, clientName: 6025cb594dc5, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=14,Free=32753,Min=4,Max=32767), v: 2.1.28.64774 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
VMGOnline.SharedLibrary.Contracts.Exceptions.ApiGeneralException: Timeout performing GET (5000ms), next: GET EFUnknownsCacheDependency, inst: 3, qu: 0, qs: 1, aw: False, rs: ReadAsync, ws: Idle, in: 5, in-pipe: 0, out-pipe: 0, serverEndpoint: redis-server:6379, mc: 1/1/0, mgr: 10 of 10 available, clientName: 6025cb594dc5, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=14,Free=32753,Min=4,Max=32767), v: 2.1.28.64774 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
---> StackExchange.Redis.RedisTimeoutException: Timeout performing GET (5000ms), next: GET EFUnknownsCacheDependency, inst: 3, qu: 0, qs: 1, aw: False, rs: ReadAsync, ws: Idle, in: 5, in-pipe: 0, out-pipe: 0, serverEndpoint: redis-server:6379, mc: 1/1/0, mgr: 10 of 10 available, clientName: 6025cb594dc5, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=14,Free=32753,Min=4,Max=32767), v: 2.1.28.64774 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2624
at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54
at StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 2374
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the timeout details and the linked StackExchange.Redis timeout guidance, then inspect the stack-trace entry points in ConnectionMultiplexer.cs, RedisBase.cs, and RedisDatabase.cs. Reproduce the intermittent GET timeout if possible and use the reported diagnostics to narrow the cause; done means a confirmed cause and a documented fix or actionable reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, redis
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100