csredis
csredis copied to clipboard
RedisIO ReadByte和write 大量线程阻塞到这里有哪些原因呢?
问题:大量线程阻塞到这里有哪些原因呢? 环境:windows server 2016 .netcore 3.14 64位程序
现象:寄宿程序的webapi卡死,cpu10%以下,内存暴涨到2个G ,线程数量3W+
死锁信息:
大量线程阻塞于Write(Stream stream)等待24和22线程。
22和24线程堆栈信息:
是使用了很多次订阅吗?
建议使用重新编写的 FreeRedis
2020/11/3 发布距离今天已经20个月,支持 RESP2.0 3.0
https://github.com/2881099/FreeRedis