Свежая установка BitrixVM (последней версии) на CentOS 7
Уточните, пожалуста, для чего произведено изменение thread_stack в меньшую сторону до 128K? Почему не оставить дефолтное значение (на 64bit оно 256k)
Код |
---|
[root@sa0e1b0e6 ~]# grep -Fr 'thread_stack' /etc/ansible/
/etc/ansible/templates/my.cnf.j2:thread_stack = 128K
/etc/ansible/templates/upgrade_mysql.cnf.j2: thread_stack = 512K
/etc/ansible/roles/mysql/templates/my.cnf.j2:thread_stack = 512K
/etc/ansible/roles/mysql/templates/upgrade_mysql.cnf.j2: thread_stack = 512K
/etc/ansible/roles/mysql/files/my.cnf.bx_mysql56:thread_stack = 128K
/etc/ansible/roles/mysql/files/my.cnf.bx_mysql57:thread_stack = 128K
/etc/ansible/roles/mysql/files/my.cnf.bx:thread_stack = 128K
|
Постоянно на этом ловим ошибки при mysql_upgrade:
Код |
---|
[root@s052d728f /]# mysql_upgrade
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv OK
mysql.db OK
mysql.engine_cost OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.gtid_executed OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.server_cost OK
mysql.servers OK
mysql.slave_master_info OK
mysql.slave_relay_log_info OK
mysql.slave_worker_info OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Found outdated sys schema version 1.5.1.
Upgrading the sys schema.
mysql_upgrade: [ERROR] 1436: Thread stack overrun: 10848 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.
|
Может вообще не трогать данный параметр?