max-connections cannot be raised over 4190
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Fix Released
|
Undecided
|
Trent Lloyd |
Bug Description
If you set max-connections to a value larger than 4190, it will not be honored. The reason is that MySQL caps the max_connections limit based on the value of open_files_limit, the "nofile" ulimit.
On bionic percona-cluster-5.7 LimitNOFile is hardset in the unit to 5000 and the charm has no code to set an override. This seems to be a change over xenial where this setting worked.
This is also report in /var/log/
2020-11-
We need to set an override.conf for LimitNOFile with max_connections > 4190 to allow for the setting to take effect - this is a limit being hit in practice with larger OpenStack deployments.
Further background: https:/
tags: | added: sts |
Changed in charm-percona-cluster: | |
assignee: | nobody → Trent Lloyd (lathiat) |
status: | New → Confirmed |
Changed in charm-percona-cluster: | |
status: | Confirmed → In Progress |
Changed in charm-percona-cluster: | |
milestone: | none → 21.01 |
The following neutron-api bug is related to this, it is common to have neutron-api making 400-1600 connections per node consuming either a large part of all of this limit in 3 node HA setups: /bugs.launchpad .net/charm- neutron- api/+bug/ 1905810
https:/