galera server systemd warning: the role sets a limit too low for the amount of open files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Jean-Philippe Evrard |
Bug Description
Trying to restart my galera cluser on master with ubuntu 16.04, I've got this issue:
root@aio1-
● mariadb.service - MariaDB database server
Loaded: loaded (/lib/systemd/
Drop-In: /etc/systemd/
Active: active (running) since Tue 2017-01-24 16:59:58 UTC; 31min ago
Process: 9018 ExecStartPost=
Process: 9016 ExecStartPost=
Process: 8741 ExecStartPre=
Process: 8739 ExecStartPre=
Process: 8738 ExecStartPre=
Main PID: 8976 (mysqld)
Status: "Taking your SQL requests now..."
CGroup: /system.
└─8976 /usr/sbin/mysqld --wsrep_
Jan 24 16:59:52 aio1-galera-
Jan 24 16:59:52 aio1-galera-
Jan 24 16:59:56 aio1-galera-
Jan 24 16:59:56 aio1-galera-
Jan 24 16:59:56 aio1-galera-
Jan 24 16:59:58 aio1-galera-
As you can see I got max open_files set to 800.
This was computed in our galera_server role and set within the limits.conf file.
This isn't the intended behavior.
We should rely on the templated mysql conf values, and do not set a calculated limit there.
Default package open file limit is 16384.
Fix proposed to branch: master /review. openstack. org/424775
Review: https:/