Skip to content

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

Open
LQH-BJTU wants to merge 1 commit intoopenstack:masterfrom
LQH-BJTU:fix/lib-databases-mysql-bug
Open

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

Conversation

@LQH-BJTU
Copy link

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
Copy link
Contributor

gmaanos commented Mar 19, 2026

@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
Author

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

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.

2 participants