From c9487adb1a4ed944c31be07ee3d6591b5a398d83 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Mon, 12 Mar 2018 06:46:41 +0100 Subject: [PATCH] MariaDB hit open_files_limit -> increase it --- etc/mysql/conf.d/manual_settings.cnf | 1 + etc/systemd/system/mariadb.service.d/custom.conf | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 etc/systemd/system/mariadb.service.d/custom.conf diff --git a/etc/mysql/conf.d/manual_settings.cnf b/etc/mysql/conf.d/manual_settings.cnf index 4b18af6..063c47d 100644 --- a/etc/mysql/conf.d/manual_settings.cnf +++ b/etc/mysql/conf.d/manual_settings.cnf @@ -18,3 +18,4 @@ max_heap_table_size=16M join_buffer_size=4M aria_pagecache_buffer_size=8M aria_sort_buffer_size=8M +open_files_limit=100000 diff --git a/etc/systemd/system/mariadb.service.d/custom.conf b/etc/systemd/system/mariadb.service.d/custom.conf new file mode 100644 index 0000000..50596c3 --- /dev/null +++ b/etc/systemd/system/mariadb.service.d/custom.conf @@ -0,0 +1,2 @@ +[Service] +LimitNOFILE=100000