summaryrefslogtreecommitdiff
path: root/sql/threadpool_common.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2013-11-05 09:18:59 +0400
committerSergey Vojtovich <svoj@mariadb.org>2013-11-05 09:18:59 +0400
commitfd9f1638ea7401e9bc72653882fded4c0dee15d8 (patch)
tree930887a8e4febd36cc7a2539a0c225376d0924d8 /sql/threadpool_common.cc
parent52dea41052bc1be1efbe59c320046d7e62cfd0a6 (diff)
downloadmariadb-git-fd9f1638ea7401e9bc72653882fded4c0dee15d8.tar.gz
MDEV-5205 - MariaDB does not start if more than 128 cpu's are available
- thread_pool_size command line option upper limit increased to 100 000 (same as for max_connections) - thread_pool_size system variable upper limit is maximum of 128 or the value given at command line - thread groups are now allocated dynamically Different limit for command line option and system variable was done to avoid additional mutex for all_groups and threadpool_max_size.
Diffstat (limited to 'sql/threadpool_common.cc')
-rw-r--r--sql/threadpool_common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/threadpool_common.cc b/sql/threadpool_common.cc
index 5be06f0bdc8..9e0cb07b86c 100644
--- a/sql/threadpool_common.cc
+++ b/sql/threadpool_common.cc
@@ -30,6 +30,7 @@
uint threadpool_min_threads;
uint threadpool_idle_timeout;
uint threadpool_size;
+uint threadpool_max_size;
uint threadpool_stall_limit;
uint threadpool_max_threads;
uint threadpool_oversubscribe;