Proxool -- high concurrency exception: We are already in the process of making 11 connections and the number of simultaneous, simultaneous

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.