您的位置:首页 > 运维架构 > Tomcat

We are already in the process of making 6 connections and the number of simultan

2011-07-25 17:12 525 查看
 

We are already in the process of making 6 connections and the number of simultan

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
后,成功解决了数据库因连接不够每次增长太小的问题.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tomcat 数据库 测试
相关文章推荐