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

异常:

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.csdn.net/swandragon/article/details/4738626

你可能感兴趣的:(proxool--高并发异常:We are already in the process of making 11 connections and the number of simultaneous)