proxool--高并发异常:We are already in the process of making 11 connections and the number of simultaneous

本文详细介绍了在使用Proxool时遇到的连接数限制问题,并提供了在proxool.xml文件中增加simultaneous-build-throttle属性以解决此问题的方法,帮助开发者实现对最大连接数的有效配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

异常:

Caused by: java.sql.SQLException: We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10

解决方案:

在proxool.xml中增加:

<simultaneous-build-throttle>20</simultaneous-build-throttle>


默认

<simultaneous-build-throttle>10</simultaneous-build-throttle>


simultaneous-build-throttle:  这是我们可一次建立的最大连接数。那就是新增的连接请求,但还没有可供使用的连接。由于

连接可以使用多线程,在有限的时间之间建立联系从而带来可用连接,但是我们需要通过一些方式确认一些线程并不是立即响应

连接请求的,默认是10。

更多详见: http://www.cnblogs.com/shiyangxt/archive/2009/03/28/1424145.html


参考:http://blog.youkuaiyun.com/swandragon/article/details/4738626

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值