open_files_limit with systemd on Centos 7 & Fedora for MySQL / MariaDB

Ulimit is set via the service now.

Create the folder for the service name, in this case MariaDB.service.d
mkdir /etc/systemd/system/mariadb.service.d

Then create limits.conf and set the file limits.
File Contents:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.