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,导致库挂。
参考文章:

MySQL服务因遇到崩溃错误11,疑似内存耗尽。尽管监控未显示内存不足,问题可能源于一个复杂的子查询。文章探讨了查询引发的bug如何导致数据库服务宕机,并提及了关键配置参数如缓冲区大小和连接数。
最低0.47元/天 解锁文章
3177





