marcoCasamento / Hangfire.Redis.StackExchange

HangFire Redis storage based on original (and now unsupported) Hangfire.Redis but using lovely StackExchange.Redis client
Other
452 stars 108 forks source link

Timeout performing EXEC #74

Closed caopengfei closed 6 years ago

caopengfei commented 6 years ago

Timeout performing EXEC, inst: 29, queue: 461, qu: 1, qs: 460, qc: 0, wr: 0, wq: 1, in: 6967, ar: 0, clientName: , serverEndpoint: Unspecified/r-uf6b854e54422e94.redis.rds.aliyuncs.com:6379, keyHashSlot: 4131 (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts)

marcoCasamento commented 6 years ago

try to add syncTimeout to your connectionString: localhost:6379,syncTimeout=10000,allowAdmin=true

the underneath reason could be a little harder to discover, on my experience this error is really common if you run Redis On Windows on the same machine that is actually executing hangfire (and thus the cpu is pretty busy) or when enqueing a large number of jobs in parallel and maybe some of them crash polluting the job redis hash with huge stack trace

marcoCasamento commented 6 years ago

no response on this, can it be closed?