首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >mysqld收到信号11

mysqld收到信号11
EN

Database Administration用户
提问于 2017-12-18 16:35:58
回答 1查看 2.7K关注 0票数 3

我在Galera集群中有3个节点的MariaDB。定期地,集群中的每个节点通过给自己发送一个信号来重新启动。我在因特网上搜索这个问题的解决方案,但是没有结果。唯一可能与我的问题相似的是it - https://serverfault.com/questions/678128/percona-cluster-signal-11。但我还没有得到证实。我把这个问题复制给了开发人员MariaDB,但是他们并不急于解决:https://jira.mariadb.org/browse/MDEV-14584

error.log

代码语言:javascript
复制
2017-12-05  9:27:13 140599126464256 [Note] WSREP: (8f3cb7d9, 'tcp://0.0.0.0:4567') turning message relay requesting off
171205 11:38:01 [ERROR] mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see https://mariadb.com/kb/en/reporting-bugs

We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

Server version: 10.2.10-MariaDB-log
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=15
max_threads=102
thread_count=23
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 240475 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7fddf40009a8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...

server.cnf

代码语言:javascript
复制
# this is read by the standalone daemon and embedded servers
[server]

# this is only for the mysqld standalone daemon
[mysqld]
bind-address = 0.0.0.0
transaction-isolation = READ-COMMITTED
max_allowed_packet = 16M
myisam_recover_options = BACKUP
max_connections = 100
sql_mode =

# Logs
log_error = /var/lib/mysql/logs/mysql_error.log
slow_query_log = 1
slow_query_log_file = /var/lib/mysql/logs/mysql_slow.log
long_query_time = 2


# Cache parameters
query_cache_size = 64M
query_cache_limit = 2M
table_open_cache = 4096
thread_cache_size = 200
key_buffer_size = 16M
thread_stack = 128K
join_buffer_size = 2M
sort_buffer_size = 2M

# Parameters for temporary tables
tmpdir = /tmp
max_heap_table_size = 512M
tmp_table_size = 512M
query_cache_type=1

# InnoDB parameters
innodb_file_per_table
innodb_buffer_pool_size = 4G
innodb_flush_log_at_trx_commit = 2
innodb_log_file_size = 128M
innodb_flush_method = O_DIRECT

# Database charset parameters
character-set-server = utf8
collation-server = utf8_unicode_ci
init-connect = "SET NAMES utf8 COLLATE utf8_unicode_ci"
skip-character-set-client-handshake
#skip-name-resolve

#
# * Galera-related settings
#
[galera]
# Mandatory settings
wsrep_on = ON
wsrep_provider = /usr/lib64/galera/libgalera_smm.so
wsrep_cluster_address = "gcomm://192.168.59.78,172.16.140.29"
wsrep_cluster_name = "site-appdb"
wsrep_node_address = "192.168.59.78"
wsrep_node_name = "site-appdb01"
wsrep_sst_method = rsync
wsrep_sst_auth=repl_user:+vQvI9Fe8Nr6
binlog_format = row
default_storage_engine = InnoDB
innodb_autoinc_lock_mode = 2
#innodb_locks_unsafe_for_binlog = 1
#
# Allow server to accept connections on all interfaces.
#
#bind-address=0.0.0.0
#
# Optional setting
wsrep_slave_threads=1
innodb_file_per_table
innodb_buffer_pool_size = 4G
innodb_flush_log_at_trx_commit = 2
innodb_log_file_size = 128M
innodb_flush_method = O_DIRECT

# this is only for embedded server
[embedded]

# This group is only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]

# This group is only read by MariaDB-10.1 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don't understand
[mariadb-10.1]
EN

回答 1

Database Administration用户

发布于 2017-12-20 09:15:54

说任何话都不容易,但我注意到一件事是,您也在使用galera RPM的旧版本(25.3.12)。版本25.3.20是与您正在使用的MariaDB版本一起发布的版本(10.2.10)。

票数 0
EN
页面原文内容由Database Administration提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://dba.stackexchange.com/questions/193414

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档