昨天搭建的一个从库今天一直报警,看了下日志,直接报了个 mysqld got signal 11,

具体日志如下:

2019-01-08T14:33:02.917330+08:00 14 [Note] Slave SQL thread for channel '' initialized, starting replication in log 'mysql-bin.000549' at position 6759798, relay log './relay-log.001654' position: 4

2019-01-08T14:33:02.917776+08:00 13 [Note] Slave I/O thread for channel '': connected to master 'repl@10.204.11.105:4001',replication started in log 'mysql-bin.000549' at position 6759798

06:08:58 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.

Please help us make Percona Server better by reporting any

bugs at http://bugs.percona.com/

key_buffer_size=268435456

read_buffer_size=16777216

max_used_connections=2

max_threads=2001

thread_count=3

connection_count=0

It is possible that mysqld could use up to

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

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

Thread pointer: 0x7f4dd240e000

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 = 7f4dd1fbd820 thread_stack 0x40000

/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0xed36bc]

/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x461)[0x7a26e1]

/lib64/libpthread.so.0[0x3b17a0f710]

/usr/local/mysql/bin/mysqld(_Z29page_find_rec_max_not_deletedPKh+0xb0)[0xfed130]

/usr/local/mysql/bin/mysqld(_Z22row_search_max_autoincP12dict_index_tPKcPm+0x25f)[0x1057ccf]

/usr/local/mysql/bin/mysqld(_ZN11ha_innobase27innobase_initialize_autoincEv+0xc9)[0xf488e9]

/usr/local/mysql/bin/mysqld(_ZN11ha_innobase4openEPKcij+0xc14)[0xf55894]

/usr/local/mysql/bin/mysqld(_ZN7handler7ha_openEP5TABLEPKcii+0x33)[0x805143]

/usr/local/mysql/bin/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0x766)[0xd4c966]

/usr/local/mysql/bin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP18Open_table_context+0xf91)[0xc529b1]

/usr/local/mysql/bin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x5f2)[0xc59612]

/usr/local/mysql/bin/mysqld(_Z21open_tables_for_queryP3THDP10TABLE_LISTj+0x4b)[0xc59f2b]

/usr/local/mysql/bin/mysqld(_ZN14Sql_cmd_insert12mysql_insertEP3THDP10TABLE_LIST+0x1dd)[0xe1d87d]

/usr/local/mysql/bin/mysqld(_ZN14Sql_cmd_insert7executeEP3THD+0xc2)[0xe1e702]

/usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THDb+0x18d7)[0xcad217]

/usr/local/mysql/bin/mysqld(_Z11mysql_parseP3THDP12Parser_state+0x5d5)[0xcb3385]

/usr/local/mysql/bin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcm+0x6a3)[0xe48dc3]

/usr/local/mysql/bin/mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x6e)[0xe474be]

/usr/local/mysql/bin/mysqld(_Z26apply_event_and_update_posPP9Log_eventP3THDP14Relay_log_info+0x1f0)[0xe8c370]

/usr/local/mysql/bin/mysqld(handle_slave_sql+0x15dc)[0xe98aac]

/usr/local/mysql/bin/mysqld(pfs_spawn_thread+0x1b4)[0x123cf24]

/lib64/libpthread.so.0[0x3b17a079d1]

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

Trying to get some variables.

Some pointers may be invalid and cause the dump to abort.

Query (7f4dd27a8438): is an invalid pointer

Connection ID (thread ID): 9

Status: NOT_KILLED

You may download the Percona Server operations manual by visiting

http://www.percona.com/software/percona-server/. You may find information

in the manual which will help you identify the cause of the crash.

,这个报错的原因比较多,内存不足,磁盘空间不足都可能导致。先看了下内存使用情况。100G+的内存只剩不到1G,先释放出了15G+内存,重启,依然报错。

,磁盘空间也很充裕,进一步怀疑是不是master上下放的特殊的SQL导致的,根据日志:

[Note] Slave SQL thread for channel '' initialized, starting replication in log 'mysql-bin.000549' at position 6759798, relay log

去master上把停止位置的binlog解析

mysqlbinlog --no-defaults -v -v -v --start-position=6759798 mysql-bin.000549 > .mysql-bin.000549.binlog

,这条sql看起来很正常啊,后来多次重启发现一个规律。start实例没问题,不会崩溃,但是只要一start slave,就崩溃。开始猜测是不是和这个表=本身存在什么关系,比如,表损坏。在master上check了下表,状态正常。但是在当前slave上,没法check,也没法use 库,也没法select(或其他DML)当前表的数据,只要一操作就崩溃

,但是操作其他表没有问题,查看引擎状态,没有异常。虽然怀疑是次表的问题,但是没证据印证。本着先恢复服务(虽然此实例还没交付生产)的态度,去昨天天源slave上重新copy一份数据恢复一个先实例试试。结果,结果

复制倒当前表直接报了IO异常,磁盘问题无疑了。跑了下脚本看了下,确定坏了一块硬盘

,直接找相关运维更换硬盘,问题解决(期待是这样,哈哈)。

mysql got signal 11_mysqld got signal 11问题定位相关推荐

  1. java signal信号_Java Signal实例

    TimYang在博文<降低应用latency方法谈> 中提到对Java方法进行Profiling,在某些场景更倾向于采用纯Java工具类的方法,比如通过给进程发Signals来实现,以求动 ...

  2. python signal模块_Python signal 信号模块和进程

    一.什么是信号 软中断信号(signal,又简称为信号)用来通知进程发生了异步事件.进程之间可以互相通过系统调用 kill 发送软中断信号. 内核也可以因为内部事件而给进程发送信号,通知进程发生了某个 ...

  3. 【电子】Baseband Signal and Passband Signal

    Baseband的参考文章:https://techterms.com/definition/baseband 引用原文: Baseband refers to the original freque ...

  4. MySQL双主模式(2022/11/19)

    MySQL双主模式(2022/11/19) 文章目录 MySQL双主模式(2022/11/19) 一.搭建环境 二.搭建过程 2.1 MySQL 服务安装 2.2 binlog 开启 2.3 创建节点 ...

  5. android signal 6,android signal 处理总结

    在Android 开发中遇到一些signal 的情况,简要总结如下: 1)Zygote 监控 子进程的退出情况 jellybean/dalvik/vm/native/dalvik_system_Zyg ...

  6. python PyQt5 Signal类 (Signal类提供了一种以pythonic方式声明和连接Qt信号的方法)(connect()、disconnect()、emit())

    https://doc.qt.io/qtforpython/PySide2/QtCore/Signal.html?highlight=connect#PySide2.QtCore.Signal.con ...

  7. mysql中int最大多少,int(11)最大長度是多少,MySQL中varchar最大長度是多少(轉)

    int(11)最大長度是多少,MySQL中varchar最大長度是多少? int(11)最大長度是多少? 在SQL語句中int代表你要創建字段的類型,int代表整型,11代表字段的長度. 這個11代表 ...

  8. 字段类型:mysql中int(3)与int(11)有什么区别吗?优化数据库字段占据磁盘的大小

    文章目录 案例 数值类型 日期和时间类型 字符串类型 案例 int(M) 注意:这里的M代表的并不是存储在数据库中的具体的长度,以前总是会误以为int(3)只能存储3个长度的数字,int(11)就会存 ...

  9. mysql驱动rpm和jar_mysql5.7.11对应的JDBC驱动是哪个版本

    展开全部 mysql5.7.11对应的JDBC驱动是5.1版本. mysql 5.7 用8.0版本的驱62616964757a686964616fe4b893e5b19e31333431366332动 ...

  10. mysql int(3)_MySQL中int(11)与int(3)的区别_MySQL

    11.2. 数值类型 MySQL支持所有标准SQL数值数据类型.这些类型包括严格数值数据类型(INTEGER.SMALLINT.DECIMAL和NUMERIC),以及近似数值数据类型(FLOAT.RE ...

最新文章

  1. mysql中find_in_set()函数的使用
  2. QueryRunner 错误
  3. MongoDB中的读写锁
  4. fortify hp 价格_惠普推出“惠普Fortify软件安全中心套件”
  5. 语言五子棋无ai程序框图_2020输入法报告 如何选择更好的AI语音输入法?
  6. HiveQL中如何排查数据倾斜问题
  7. C语言中动态内存分配的本质是什么?
  8. List大坑集「锦」
  9. Vista工具箱 v3.1
  10. 联想微型计算机怎么开盖,联想C4030一体机怎么拆后盖加内存?
  11. SpringBoot日志的相关知识
  12. 今天博客园肿了吗?希望团队修复一下
  13. STM3库文件 hal_uart.c的使用
  14. INE上线BiKi,开启“充值领空投+最少买入,也拿万元锦鲤”活动
  15. 人员招聘与培训实务【3】
  16. 基于Jsp+Servlet的户籍管理系统(JavaWeb毕业设计、课程设计)
  17. IIoT可预测运维报告摘要
  18. 【数据分析】2019北京积分落户数据分析
  19. 拖把更名器—正则表达式的使用
  20. java jama_Java调用jama实现矩阵运算

热门文章

  1. 深度学习tracking学习笔记(2):图像/视觉显著性检测技术发展情况梳理(Saliency Detection、Visual Attention)
  2. 千锋云计算毕业设计论文:论文设计任务书
  3. Unity实现鼠标控制摄像机围绕中心点的旋转和缩放
  4. c语言四则运算去括号,四年级:四则运算交换律、结合律、分配律及去括号汇总...
  5. 《中国传统文化》慕课期末试题及答案
  6. 08.15恒指/德指做单思路导图及晚盘前瞻
  7. 2012电商倒闭潮——死亡的电商整理
  8. 旁路电容、滤波电容、去耦电容的作用与应用原理详解
  9. 思维导图怎么画简单又漂亮?脑图轻松制作方法
  10. ssl2206 最小花费