From de695a0affd2e07471eb1e7369bb568f2b3aeaae Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 21 Jun 2018 13:32:37 +0200 Subject: [PATCH] Adding tunning options for wait_timeout and interactive_timeout --- dicos/25_bdd_server.xml | 6 ++++++ tmpl/tunning.cnf | 3 +++ 2 files changed, 9 insertions(+) diff --git a/dicos/25_bdd_server.xml b/dicos/25_bdd_server.xml index 8881942..70aaa6d 100644 --- a/dicos/25_bdd_server.xml +++ b/dicos/25_bdd_server.xml @@ -97,6 +97,12 @@ 32 + + 28800 + + + 28800 + diff --git a/tmpl/tunning.cnf b/tmpl/tunning.cnf index ac990d5..fb78c78 100644 --- a/tmpl/tunning.cnf +++ b/tmpl/tunning.cnf @@ -17,6 +17,9 @@ tmp_table_size = %%dbTmpTableSize max_heap_table_size = %%dbTmpTableSize max_allowed_packet = %%{dbMaxAllowedPacket}M +wait_timeout = %%{dbWaitTimeout} +interactive_timeout = %%{dbInteractiveTimeout} + %if %%dbEnableSlowQueryLogs == "oui" slow-query-log = 1 slow-query-log-file = %%getVar('dbSlowQueryLogFile')