Skip to content

fix: lib/databases/mysql: increase max connections limit to 2048 #214… - #139

Closed
LQH-BJTU wants to merge 1 commit into
openstack:masterfrom
LQH-BJTU:fix/lib-databases-mysql-bug
Closed

fix: lib/databases/mysql: increase max connections limit to 2048 #214…#139
LQH-BJTU wants to merge 1 commit into
openstack:masterfrom
LQH-BJTU:fix/lib-databases-mysql-bug

Conversation

@LQH-BJTU

Copy link
Copy Markdown

Bug Description

When deploying DevStack stable/2025.2 on Ubuntu 24.04 and creating instances/images via Horizon, frequent errors occurred due to MySQL hitting the max connections limit.
The default limit of 1024 in /lib/databases/mysql was exceeded under normal operation, causing application-level issues.

Fix Applied

Increased the MySQL max connections limit from 1024 to 2048 in /lib/databases/mysql.

Verification

After applying this change:

  • MySQL connections stabilized at around 1160 during instance/image creation operations
  • Horizon no longer throws connection-related errors
  • Deployment continues to function normally

Related Bug

Fixes: #2144809

d58e648cddff62c79dbda38a4f5701a1

230add7ba1f0de9294bccdc0dad9a2a9
113b84b82bd3aee51e7fb63ab93c4aa4

@gmaanos

gmaanos commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

@LQH-BJTU, thanks for submitting the change. OpenStack uses Gerrit for change proposals and code review. Please propose the change there, if you want to know more about the process, refer to this guide https://github.com/openstack/devstack/blob/master/doc/source/contributor/contributing.rst

@LQH-BJTU

Copy link
Copy Markdown
Author

@gmaanos Thanks a lot for the guidance! I'll follow the contributing guide and submit this change to Gerrit as soon as possible.

@openstackadmin

Copy link
Copy Markdown
Member

Thank you for your contribution!

This GitHub repository is just a mirror of https://opendev.org/openstack/devstack, where development really happens. Pull requests proposed on GitHub are automatically closed.

If you are interested in pushing this code upstream, please note that OpenStack development uses Gerrit for change proposal and code review.

If you have never contributed to OpenStack before, please see:
https://docs.openstack.org/contributors/code-and-documentation/quick-start.html

Feel free to reach out to the First Contact SIG by sending an email to the openstack-discuss list with the tag '[First Contact]' in the subject line. To email the mailing list, you must first subscribe which can be done here:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants