We are already in the process of making 11 connections and the number of simulta

阅读更多

We are already in the process of making 6 connections and the number of simultaneous builds has been throttled to 5
tomcat6在压力测试下,出现了这样的问题.网上查了一下原因,是因为用了proxool的问题.具体是什么原因造成的呢.
proxool.simultaneous-build-throttle=5
是因为这个原因.当每当前的线程连接池用完了以后,需要增加新的数据连接.
但是我这里设置的是每次只能新增5个.而实际上是,在大的压力访问下,每次只新增5个连接数,那是远远不够的.将
proxool.simultaneous-build-throttle=20
后,成功解决了数据库因连接不够每次增长太小的问题.

你可能感兴趣的:(We are already in the process of making 11 connections and the number of simulta)