zuul/tools
Felix Edel 460ffdfcb2 Increase MySQL connection limit in tests
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
2021-11-24 13:30:28 -08:00
..
018D05F5.gpg Avoid using apt-add-repository 2017-07-11 16:41:52 -04:00
decrypt_secret.py Add a tool to decrypt a secret 2021-04-12 22:19:11 +00:00
docker-compose.yaml Increase MySQL connection limit in tests 2021-11-24 13:30:28 -08:00
encrypt_secret.py tools: Deprecate encrypt_secret.py, document zuul-client encrypt 2020-12-09 11:30:59 +00:00
fake_bwrap.py Make most test cases work on MacOS 2020-02-20 12:59:38 +01:00
find-untrusted-exec.py Add a script to find untrusted execution tasks 2020-07-22 18:29:58 +00:00
github-debugging.py Enhance github debugging script for apps 2018-02-05 12:22:26 +01:00
install-js-repos-rpm.sh Use node v10 instead of node v8 2019-02-04 21:26:37 +00:00
install-js-tools.sh install-js-tools: add support for manjaro 2020-11-07 03:26:07 +01:00
mysqld.cnf Increase MySQL connection limit in tests 2021-11-24 13:30:28 -08:00
node_usage.py Small script to scrape Zuul job node usage 2018-10-30 09:17:57 -07:00
openssl.cnf Add TLS support for ZooKeeper 2020-03-18 14:47:37 -07:00
pip.sh Don't use --verbose with yarn 2021-10-21 13:59:26 -07:00
test-logs.sh Block localhost shell tasks in untrusted playbooks 2020-07-21 19:18:10 +02:00
test-setup-docker.sh Use ZooKeeper TLS in tests 2021-03-08 06:49:57 -08:00
test-setup.sh Use ZooKeeper TLS in tests 2021-03-08 06:49:57 -08:00
update-storyboard.py Re-enable E305 pep8 errors 2017-05-19 09:38:36 -04:00
zk-ca.sh Use Absolute path in zk-ca.sh for openssl config 2020-05-28 11:48:01 +02:00
zoo.cfg Add ExistingDataWatch class 2021-07-02 15:22:29 -07:00
zuul-changes.py enqueue: make trigger deprecated 2019-12-10 07:33:30 +01:00
zuul-clear-refs.py Zuul references cleaner 2015-07-20 18:57:04 +02:00