暂无图片
5.6 mysql 实例异常crash
我来答
分享
一生
2022-02-17
5.6 mysql 实例异常crash
暂无图片 10M

mysql 运行过程中异常重启,errlog 显示mysql got signal 11 错误,已排除内存、硬盘等资源满导致重启,其他相关信息如下

数据库版本:5.6.49

操作系统版本: RHEL7.4 

内存 :64G

buffer size : 20G

错误日志:

02:27:50 UTC - 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. 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.

key_buffer_size=33554432

read_buffer_size=16777216

max_used_connections=551 

max_threads=1000 

thread_count=133

connection_count=133 

It is possible that mysqld could use up to 

key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 32813572 K bytes of memory 

Hope that's ok; if not, decrease some variables in the equation. 

Thread pointer: 0x0 

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...

stack_bottom = 0 thread_stack 0x80000 

/mysql/bin/mysqld(my_print_stacktrace+0x35)[0x926bf5] 

/mysql/bin/mysqld(handle_fatal_signal+0x494)[0x6b04c4] 

/lib64/libpthread.so.0(+0xf5e0)[0x7fbb19ebd5e0] 

/mysql/bin/mysqld[0x9b1521]

/mysql/bin/mysqld[0xa441fe] 

/mysql/bin/mysqld[0xa5f612] 

/mysql/bin/mysqld[0xa5aaad]

/mysql/bin/mysqld[0xa5b0f7] 

/mysql/bin/mysqld[0xa5b51e] 

/lib64/libpthread.so.0(+0x7e25)[0x7fbb19eb5e25

] /lib64/libc.so.6(clone+0x6d)[0x7fbb1897234d] 

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash.

我来答
添加附件
收藏
分享
问题补充
2条回答
默认
最新
严少安
暂无图片

可能真是遇到bug了,可以试试找到crash前运行了什么sql,运行这个sql就会crash。
这只是一个思路,可以试下。毕竟只靠这段log也看不出太多信息。
另外,可以尝试升级下版本试试,因为5.6已经退役了。

暂无图片 评论
暂无图片 有用 0
打赏 0
cqiwen

是新装的环境,还是老环境?如果是新装的环境,可能是操作系统的库文件与mysql不兼容,此时可考虑把操作系统改为redhat6或者升级mysql至5.7及以上版本。

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
mysql打开的数据都要是sql后缀的吗?
回答 2
导入数据,用xml、csv都可以导入
有没有什么操作能够导出 MySQL 中每张表的数据量,日常各表的操作情况、数据库的访问情况?
回答 1
每张表的数据量(参考下面sql,leftjoin两次就能得到每张表数据量了)selecttablerowsas‘表数据总量’frominformationschema.tableswheretable
MySQL一个业务字段只有2种值,需要用字典表吗?
回答 2
已采纳
comment加一个说明就可以了吧。字典表其实也是一个说明备注
有没有人使用mysql 8.0安装好登录就报错
回答 1
1、MySQL8.0的身份验证规则,采用了新的加密规则:cachingsha2password2、可以通过以下方式修改密码:mysqlurootpusemysql;ALTERUSER‘root’@’%
mysql如何查找统计信息从来没有收集过和超过3个月没收集统计信息的表?
回答 1
查看超过3个月未收集统计的表selectfrommysql.innodbtablestatswherelastupdate<DATESUB(currenttimestamp(),INTERVAL
MySQL delete 会锁表吗?
回答 1
delete操作会产生间隙锁和行级排他锁,间隙锁锁定区间不能变更数据,行级锁,锁定行不能变更数据,所以MySQL delete操作不会锁表,但是也有阻塞写操作的可能
mysql 安装显示未响应?
回答 2
服务器性能不好,或者后台运行的进程太多了吧。
在CENTOS7 装过MYSQL5.735? 老是说我的ROOT临时密码过 期!我没有重启服务器和服务,如何解决?
回答 1
已采纳
修改你的参数文件,使用skipgranttables参数跳过检查,然后重启登录则不需密码,重置root密码后,注释掉参数文件里的skipgranttables重启数据库,则可以按照你之前的方式加新密码
mysql5.7大家生产都用什么版本呀?建议用按个版本好
回答 4
已采纳
5.7都停服了,新的还是上8.0吧,别用最新,用次新。
mysql怎么设置指定IP连接数据库?
回答 1
已采纳
授权的时候,比如grantselecton.touser@ip;这里ip可以是一个也可以是一段,如果是%就是不限制。