Commit 9543309b authored by ale's avatar ale

Make files ulimit configurable in the mariadb role

Override LimitNOFILE in the instance-specific service override file.
parent 703b5ab0
Pipeline #3441 passed with stage
in 8 minutes and 35 seconds
......@@ -19,6 +19,9 @@ mariadb_innodb_log_file_size: 256M
# User limits
mariadb_max_user_connections: 200
# System limits
mariadb_ulimit_nofile: 16384
# Monitoring configuration
mariadb_metrics_port: "{{ mariadb_port + 6000 }}"
mariadb_metrics_address: ""
......
......@@ -3,4 +3,4 @@ RuntimeDirectory=mariadb-{{ mariadb_instance }}
SyslogIdentifier=mariadb@%I
NoNewPrivileges=true
PrivateTmp=true
LimitNOFILE={{ mariadb_ulimit_nofile }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment