摘要:
一、RedisTemplate 配置 enableTransactionSupport 为 true(开启事务)时,连接不会自动释放,解决方案: 1.enableTransactionSupport 设置为 false(关闭事务) 或 2.RedisTemplate 操作后加入手动释放代码 Redi 阅读全文
posted @ 2022-11-23 09:58
xiexie0812
阅读(813)
评论(0)
推荐(0)
摘要:
Could not get a resource from the pool 问题解决 今天测试项目的时候,界面提示 Could not get a resource from the pool 报错信息。登录后台,查询对应的java报错日志 报错信息: redis.clients.jedis.ex 阅读全文
posted @ 2022-11-23 09:54
xiexie0812
阅读(399)
评论(0)
推荐(0)
摘要:
jmeter性能测试报“address already in use:connect” 报错信息 原因分析: 这个问题的原因是windows端口被耗尽了(默认1024-5000),而且操作系统要 2~4分钟才会重新释放这些端口,所以可以增加windows的可用端口来解决。windows端口最大数为6 阅读全文
posted @ 2022-11-23 09:50
xiexie0812
阅读(1268)
评论(0)
推荐(0)
浙公网安备 33010602011771号