Merge "Allow configuration of startup timeout"
This commit is contained in:
commit
ef5d89b95d
@ -83,6 +83,9 @@ galera_tmp_table_size: 32M
|
|||||||
|
|
||||||
galera_file_limits: 65535
|
galera_file_limits: 65535
|
||||||
galera_wait_timeout: 3600
|
galera_wait_timeout: 3600
|
||||||
|
# Increase this value if large SST transfers cause mysql startup to fail due
|
||||||
|
# to timeout
|
||||||
|
galera_startup_timeout: 1800
|
||||||
|
|
||||||
## innodb options
|
## innodb options
|
||||||
galera_innodb_buffer_pool_size: 4096M
|
galera_innodb_buffer_pool_size: 4096M
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
# How long to wait for successful mysql startup
|
# How long to wait for successful mysql startup
|
||||||
# Startup can take a while if it requires a galera state transfer.
|
# Startup can take a while if it requires a galera state transfer.
|
||||||
MYSQLD_STARTUP_TIMEOUT=1800
|
MYSQLD_STARTUP_TIMEOUT={{ galera_startup_timeout }}
|
||||||
|
|
||||||
ulimit -n {{ calculated_max_connections }}
|
ulimit -n {{ calculated_max_connections }}
|
||||||
ulimit -Hn {{ calculated_max_connections }}
|
ulimit -Hn {{ calculated_max_connections }}
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
[Service]
|
[Service]
|
||||||
# How long to wait for successful mysql startup
|
# How long to wait for successful mysql startup
|
||||||
# Startup can take a while if it requires a galera state transfer.
|
# Startup can take a while if it requires a galera state transfer.
|
||||||
TimeoutStartSec=1800
|
TimeoutStartSec={{ galera_startup_timeout }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user