proxool--高並發異常:We are already in the process of making 11 connections and the number of simultaneous,simultaneous

來源:互聯網
上載者:User

proxool--高並發異常:We are already in the process of making 11 connections and the number of simultaneous,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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.