460ffdfcb2
When executing the unit tests with multiple schedulers in parallel a lot of them are failing becasue there are too many open SQL connections. However, executing those tests one after another doesn't end up in the connection limit being exhausted. So this doesn't look like a shutdown problem in Zuul. Having a look at the MySQL server when it's under load during the tests revealed that the default connection limit of 151 on the server side is exhausted very quickly when a lot of tests are running in parallel (each test running with two schedulers). Therefore, this change increases the default MySQL connection limit to 300. We should keep in mind that this connection limit has to go in hand with the number of schedulers used in the unit tests and the number of tests executed in parallel. Maybe on the long term it might make sense to cap the latter parameter somehow in the tox.ini file. The same applies to the ZooKeeper connection limit which is configured in tools/zoo.cfg. Change-Id: Iff76e99ec82edc8e8bc110a22a096bb689d8dd1f
3 lines
31 B
INI
3 lines
31 B
INI
[mysqld]
|
|
max_connections = 300
|