Adding tunning options for wait_timeout and interactive_timeout

This commit is contained in:
Philippe Caseiro 2018-06-21 13:32:37 +02:00
parent afa791cd21
commit de695a0aff
2 changed files with 9 additions and 0 deletions

View File

@ -97,6 +97,12 @@
<variable name="dbMaxAllowedPacket" type='number' description="Taille maximum d'un paquet (en Mo)">
<value>32</value>
</variable>
<variable name='dbWaitTimeout' type='number' description="Nombre de secondes d'attente avant de fermer la connection">
<value>28800</value>
</variable>
<variable name='dbInteractiveTimeout' type='number' description="Nombre de secondes d'attente avant de fermer la connection en mode interactif">
<value>28800</value>
</variable>
</family>
<family name="Database Cluster">

View File

@ -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')