Proxool -- high concurrency exception: We are already in the process of making 11 connections and the number of simultaneous, simultaneous
Exception:
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
Solution:
Add the following in proxool. xml:
<Simultaneous-build-throttle> 20 </simultaneous-build-throttle>
Default
<Simultaneous-build-throttle> 10 </simultaneous-build-throttle>
Simultaneous-build-throttle: This is the maximum number of connections we can establish at a time. That is, the new connection request, but there is no available connection. Since connections can use multiple threads, establishing connections within a limited period of time can lead to available connections. However, we need to confirm in some ways that some threads do not respond to connection requests immediately. The default value is 10.
For more information, see: http://www.cnblogs.com/shiyangxt/archive/2009/03/28/1424145.html
Reference: http://blog.csdn.net/swandragon/article/details/4738626