2881099 / FreeRedis

🦄 FreeRedis is .NET40+ redis client. supports cluster, sentinel, master-slave, pub-sub, lua, pipeline, transaction, streams, client-side-caching, and pooling.
MIT License
924 stars 165 forks source link

ObjectPool.Get 获取超时(10秒)应该从哪个方向去找问题? #134

Open lonelyxmas opened 1 year ago

lonelyxmas commented 1 year ago

83226 ObjectPool.Get 获取超时(10秒)。 2023-03-07 16:29:57.443 ExceptionFilter at FreeRedis.Internal.ObjectPool.ObjectPool1.Get(Nullable1 timeout) at FreeRedis.RedisClient.PoolingAdapter.GetRedisSocket(CommandPacket cmd) at FreeRedis.RedisClient.GetDatabase(Nullable`1 index)

2881099 commented 1 year ago

max pool size 设置过小。

或者使用了 PipeIine 或者 Multi 没有加 using。

lonelyxmas commented 1 year ago

max pool size 求助,之前使用csredis, poolsize=50 一直很正常稳定. 替换成了freeredis 一直 报错:ObjectPool.Get 获取超时

2881099 commented 1 year ago

按说的检查一下,FreeRedis 出来也有两年多了呢