Skip to content

RedisTimeoutException with "bw: SpinningDown" #3061

@wenqibu

Description

@wenqibu

We encounter below RedisTimeoutException with "[bw SpinningDown](bw: SpinningDown)“ using HLEN. does it retry work for this scenario? What the best practice retry for this kind of error? Do we need reset connection for this kind of error?

Failed to operate data with Redis Cache while error is: Microsoft.DataTransfer.Common.AzureRedisDataManagement.RedisDataManagementException: HashLengthAsyncInternal failed with key xxxx and exception StackExchange.Redis.RedisTimeoutException: Timeout awaiting response (outbound=0KiB, inbound=0KiB, 8360ms elapsed, timeout is 8000ms), command=HLEN, next: INFO, inst: 0, qu: 0, qs: 0, aw: False, bw: SpinningDown, rs: ReadAsync, ws: Idle, in: 0, last-in: 1, cur-in: 0, sync-ops: 25, async-ops: 23552, serverEndpoint: 20.228.32.214:8500, conn-sec: 85343.29, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: xxx(SE.Redis-v2.10.1.65101), PerfCounterHelperkeyHashSlot: 11464, IOCP: (Busy=0,Free=1000,Min=200,Max=1000), WORKER: (Busy=4,Free=32763,Min=200,Max=32767), POOL: (Threads=7,QueuedItems=0,CompletedItems=33319324,Timers=45), v: 2.10.1.65101 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)

Another error we found is Reading is not allowed after reader was completed. Is this also retriable with resetting connection?

Failed to operate data with Redis Cache while error is: Microsoft.DataTransfer.Common.AzureRedisDataManagement.RedisDataManagementException: DeleteValueAsyncInternal failed with key xxx, field xxx and exception System.InvalidOperationException: Reading is not allowed after reader was completed.
at System.IO.Pipelines.ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed()
at StackExchange.Redis.PhysicalConnection.ReadFromPipe()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions