mysqld got signal 11 触发bug

MySQL服务因遇到崩溃错误11,疑似内存耗尽。尽管监控未显示内存不足,问题可能源于一个复杂的子查询。文章探讨了查询引发的bug如何导致数据库服务宕机,并提及了关键配置参数如缓冲区大小和连接数。
01:00:00 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.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.

key_buffer_size=8388608
read_buffer_size=16777216
max_used_connections=318
max_threads=400
thread_count=295
connection_count=291
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 9878740 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

mysql突然挂掉,error日志显示内存资源耗尽,但是查看监控发现主机内存并没有出现匮乏的情况,报错中有一条select语句,是一个四重的子查询,经过在从库上验证,库也挂了, mysql子查询触发bug,导致库挂。

参考文章:

故障分析 | 一条 SELECT 语句跑崩了 MySQL ,怎么回事? - 知乎

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值