SQL database MariaDB setup in Installation Guide. The default install ignores 'max_connections' setting.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
- [x] This is a doc addition request.
Installing on the CentOS it seems MariaDB ignores 'max_connections' variable.
In the accompanying documentation it is suggested to create file:
/etc/systemd/
with content:
[Service]
LimitNOFILE=10000
Then reload systemd:
# systemctl daemon-reload
Restart database
# systemctl restart mariadb.service
Details:
/usr/lib/
Reason:
The default database limits set by MariaDB, which is about 200, is quickly exhausted by querying the list of servers.
The visible result in logs is "Too many connections to database".
The 'max_connections' is computed based on 'open files' limit.
Because CentOS is systemd-based appropriate increase of limits should be done through systemd interface.
-------
Release: 0.1 on 2017-03-24 15:12
SHA: a370d15d72958f0
Source: http://
URL: https:/
Changed in openstack-manuals: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → pike |
Looking closer at this now: I think that, while this may be true, it's probably not useful information for the Install Guide. The settings will work as given, and that is fine for a test/PoC install.