首页 > 其他 > 详细

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

时间:2015-01-12 13:02:41      阅读:2449      评论:0      收藏:0      [点我收藏+]

异常:

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

原文:http://blog.csdn.net/gaopeng0071/article/details/42640731

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!