-
Notifications
You must be signed in to change notification settings - Fork 416
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
Status unavailable, waiting for recovery. Connect to server timeout #513
Comments
是不是连接字符串哪地方设置不对,流量大了,就出现超时的情况 |
现在把连接字符串改成这样,仍然报超时 |
id=389 addr=192.168.0.210:54652 fd=43 name=AlarmService age=87515 idle=85680 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=hset |
连接超时,connectTimeout=15000,15秒没有连接响应。 |
this is connection string:
"127.0.0.1:6379,password=123456,allowadmin=true,ConnectTimeout=5000,SyncTimeout=5000,abortConnect=false,name=AlarmService"
when the traffic is high always happening the error :
异常:System.Exception: 【127.0.0.1:6379/0】Status unavailable, waiting for recovery. Connect to server timeout
---> CSRedis.Internal.IO.RedisSocketException: Connect to server timeout
at CSRedis.Internal.IO.RedisSocket.Connect(EndPoint endpoint, Int32 timeout)
at CSRedis.Internal.RedisConnector.Connect(Int32 timeout)
at CSRedis.RedisClient.Connect(Int32 timeout)
at CSRedis.RedisClientPool.Return(Object
1 obj, Exception exception, Boolean isRecreate) --- End of inner exception stack trace --- at CSRedis.Internal.ObjectPool.ObjectPool
1.GetFree(Boolean checkAvailable)at CSRedis.Internal.ObjectPool.ObjectPool
1.GetAsync() at CSRedis.CSRedisClient.GetClientAsync(RedisClientPool pool) at CSRedis.CSRedisClient.GetAndExecuteAsync[T](RedisClientPool pool, Func
2 handerAsync, Int32 jump, Int32 errtimes)at CSRedis.CSRedisClient.ExecuteScalarAsync[T](String key, Func`3 handerAsync)
at ZKGT.RedisHelper.CSRedisHelper.HashSetAsync[T](String redisKey, String hashField, T value) in F:\Traffic\ZKGT\zkgt.realcomputeonbackservice\ZKGT.RedisHelper\CSRedisHelper.cs:line 230
at ZKGT.RealComputeOnBackService.ConsoleApp.Analyze.GpsRealStatusAnalyze.Analyze(UInt16 i, GPSInfo gpsMsg) in F:\Traffic\ZKGT\zkgt.realcomputeonbackservice\ZKGT.RealComputeOnBackService.ConsoleApp\Analyze\GpsRealStatusAnalyze.cs:line 277
The text was updated successfully, but these errors were encountered: