mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
stack too small on labrador (again!)
increase the thread stack a bit for main.signal_demo3 and sys_vars.max_sp_recursion_depth_func to stop failing
This commit is contained in:
@@ -714,7 +714,7 @@ extern void my_mutex_end(void);
|
||||
We need to have at least 256K stack to handle calls to myisamchk_init()
|
||||
with the current number of keys and key parts.
|
||||
*/
|
||||
#define DEFAULT_THREAD_STACK (288*1024L)
|
||||
#define DEFAULT_THREAD_STACK (289*1024L)
|
||||
#endif
|
||||
|
||||
#define MY_PTHREAD_LOCK_READ 0
|
||||
|
||||
@@ -133,6 +133,6 @@
|
||||
-thread-pool-oversubscribe 3
|
||||
-thread-pool-stall-limit 500
|
||||
+thread-pool-min-threads 1
|
||||
thread-stack 294912
|
||||
thread-stack 295936
|
||||
time-format %H:%i:%s
|
||||
timed-mutexes FALSE
|
||||
|
||||
@@ -1430,7 +1430,7 @@ thread-pool-idle-timeout 60
|
||||
thread-pool-max-threads 1000
|
||||
thread-pool-oversubscribe 3
|
||||
thread-pool-stall-limit 500
|
||||
thread-stack 294912
|
||||
thread-stack 295936
|
||||
time-format %H:%i:%s
|
||||
timed-mutexes FALSE
|
||||
tmp-table-size 16777216
|
||||
|
||||
@@ -3861,9 +3861,9 @@ READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME THREAD_STACK
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE 294912
|
||||
GLOBAL_VALUE 295936
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE 294912
|
||||
DEFAULT_VALUE 295936
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT The stack size for each thread
|
||||
|
||||
@@ -4631,9 +4631,9 @@ READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME THREAD_STACK
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE 294912
|
||||
GLOBAL_VALUE 295936
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE 294912
|
||||
DEFAULT_VALUE 295936
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT The stack size for each thread
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
select @@global.thread_stack;
|
||||
@@global.thread_stack
|
||||
294912
|
||||
295936
|
||||
select @@session.thread_stack;
|
||||
ERROR HY000: Variable 'thread_stack' is a GLOBAL variable
|
||||
show global variables like 'thread_stack';
|
||||
Variable_name Value
|
||||
thread_stack 294912
|
||||
thread_stack 295936
|
||||
show session variables like 'thread_stack';
|
||||
Variable_name Value
|
||||
thread_stack 294912
|
||||
thread_stack 295936
|
||||
select * from information_schema.global_variables where variable_name='thread_stack';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
THREAD_STACK 294912
|
||||
THREAD_STACK 295936
|
||||
select * from information_schema.session_variables where variable_name='thread_stack';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
THREAD_STACK 294912
|
||||
THREAD_STACK 295936
|
||||
set global thread_stack=1;
|
||||
ERROR HY000: Variable 'thread_stack' is a read only variable
|
||||
set session thread_stack=1;
|
||||
|
||||
Reference in New Issue
Block a user