summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-07-10 13:40:54 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-02-05 15:34:02 +0100
commita241d411951f72d6cdbe8fa15a3f4c4adf7b0261 (patch)
treebea16f3b0ae07962efcbb7d9586c00673b60e052 /mysql-test
parenta9d1324867075fd3c014d4382a48b5af29e77724 (diff)
downloadmariadb-git-a241d411951f72d6cdbe8fa15a3f4c4adf7b0261.tar.gz
MDEV-18027: Running out of file descriptors and eventual crash
For automatic number of opened files limit take into account number of table instances for table cache
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/mysqld--help.result2
-rw-r--r--mysql-test/suite/sys_vars/r/host_cache_size_auto.result2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/mysqld--help.result b/mysql-test/r/mysqld--help.result
index 6ac6f34f74e..283d7a9a3cf 100644
--- a/mysql-test/r/mysqld--help.result
+++ b/mysql-test/r/mysqld--help.result
@@ -1519,7 +1519,7 @@ sysdate-is-now FALSE
table-cache 421
table-definition-cache 400
table-open-cache 421
-table-open-cache-instances 8
+table-open-cache-instances 1
tc-heuristic-recover OFF
thread-cache-size 151
thread-pool-idle-timeout 60
diff --git a/mysql-test/suite/sys_vars/r/host_cache_size_auto.result b/mysql-test/suite/sys_vars/r/host_cache_size_auto.result
index a0a849c1d7a..a9a683e017b 100644
--- a/mysql-test/suite/sys_vars/r/host_cache_size_auto.result
+++ b/mysql-test/suite/sys_vars/r/host_cache_size_auto.result
@@ -1,3 +1,3 @@
select @@global.host_cache_size;
@@global.host_cache_size
-632
+653