开发告知mysq测试环境l宕机,查看错误日志,发现如下错误: 130605 16:43:28 - 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=402653184 read_buffer_size=2097152 max_used_connections=3001 max_threads=2000 threads_connected=1341 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 8615684 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x2aad61449720 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 = 0x5b323f20 thread_stack 0x40000 Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x1e06cf80 = SELECT COUNT(*) as total FROM (select count(*) as total from ad_log_cpt_show where ad_info_id=1907122 and show_time>=2013-03-18 and show_time<=2013-03-18  GROUP BY TO_DAYS(FROM_UNIXTIME(show_time, '%Y-%m-%d'))) tmp thd->thread_id=186915794 thd->killed=NOT_KILLED 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. 130605 16:43:29 mysqld_safe mysqld from pid file /data/my2/mysql/db25522.pid ended 这个bug 应该是在4.0或5.0的版本,而我的数据库版本5.4,应该不错出现上述bug mysql> select version(); +----------------------+ | version()            | +----------------------+ | 5.4.1-beta-community | +----------------------+ 1 row in set (0.00 sec) 目前确认是两个方面: 一有可能参数设置问题  二 sql语句导致 SELECT COUNT(*) as total FROM (select count(*) as total from ad_log_cpt_show where ad_info_id=1907122 and show_time>=2013-03-18 and show_time<=2013-03-18  GROUP BY TO_DAYS(FROM_UNIXTIME(show_time, '%Y-%m-%d'))) tmp; 这个sql语句写的很不规范,看一下表结构便知 show_time 字段类型 mysql> desc ad_log_cpt_show; +--------------+--------------+------+-----+---------+-------+ | Field        | Type         | Null | Key | Default | Extra | +--------------+--------------+------+-----+---------+-------+ | ad_info_id   | int(11)      | NO   | MUL | 0       |       | | show_time    | int(11)      | NO   | MUL | 0       |       | | permanent_id | varchar(255) | NO   |     |         |       | +--------------+--------------+------+-----+---------+-------+ 这个问题持续关注一段时间,看mysql是否还会自动崩溃。 有类似问题的朋友,欢迎交流。 参考资料 http://bugs.mysql.com/bug.php?id=3003 http://dev.mysql.com/doc/mysql/en/crashing.html contains

mysql got signal 11_mysql bug : mysqld got signal 11相关推荐

  1. Windows 2008 R2上MySQL5.7异常关闭,报错:mysqld got exception 0xc000001d问题解决

    Windows 2008 R2上安装了MySQL5.7,Navicat连接也正常,但是部署了Web服务的Jar包(数据展示大屏的服务,涉及大量查询和计算)后,刷新浏览器或者自动刷新后,MySQL的服务 ...

  2. mysql got signal 11_MySQL案例-mysqld got signal 11

    背景: MySQL-5.7.12, debian 8核16G虚拟机, 业务方反馈在某一个时间点, 出现了大量的数据库报错, 之后恢复正常; 场景: 开发查看日志后, 发现在某个时间点, 应用断开了所有 ...

  3. mysql got signal 6_UTC - mysqld got signal 6

    昨天上午mysql又碰到一个奇怪的问题.数据库异常终止.重启成功后过就马上崩溃,不能正常运行. 查看mysql错误日志如下: InnoDB: Doing recovery: scanned up to ...

  4. mysql got signal 11_求助 mysqld got signal 11 解决办法

    今天下午 mysql服务 非正常关闭,错误日志如下: 不知道,那位大侠有遇到,我在网上查看了一下,有人重装mysql 貌似解决了这个问题,请高手指点啊. 080325 15:46:14 [ERROR] ...

  5. mysql got signal 11_从库crash一直自动重启(mysqld got signal 11)问题解决

    一:问题描述 今天收到邮件报警,遂进数据库查看slave状态,发现io进程和sql进程都为NO. mysql show slave status \G;************************ ...

  6. mysql signal函数_MySQL:简单记录信号处理

    码版本:5.7.29 简单记录信号如何生效的.poll收到信号后如何中断后如何处理的,需要确认. --- ###一 初始化信号处理方式,设置信号的处理的处理方式,屏蔽某些信号,并且继承到子线程(pth ...

  7. 【MySQL 17】安装异常:Could not open file ‘/var/log/mysql/mysqld.log‘ for error logging: Permission denied

    MySQL安装时出现异常: Jul 24 09:15:34 linux-3v74 mysqld[3259]: 2022-07-24T01:15:34.845330Z 0 [System] [MY-01 ...

  8. Ubuntu下解决:Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Ubuntu下解决:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Enter ...

  9. mysql故障应急_Mysql错误:紧急救助!!!

    各位,紧急求助,刚刚监控到Mysql服务宕了,由于本人对Mysql还不是很熟悉,请大家协助,错误日志如下: 130624 16:05:23  InnoDB: Error: Write to file ...

最新文章

  1. 报名 | 风控中的A/B卡:申请模型和行为模型讲座
  2. preambleTransMax
  3. python3精要(50)-类
  4. 云话题 | 5G消息是什么?
  5. 课堂练习之四则运算加强版
  6. java 设置控制台标题_修改Tomcat控制台标题以及标题乱码处理
  7. 第七章:在Spark集群上使用文件中的数据加载成为graph并进行操作(2)
  8. MTK 驱动(38)---MTK 待机问题分析
  9. 对‘pthread_create’未定义的引用_2018年度‘龙虎榜’统计分析(一)
  10. Spring常用注解。
  11. 浅述SaaS、CRM、OA、ERP、HR、进销存、财务系统的区别
  12. 复化梯形公式和复化Simpson公式的python实现
  13. Two-Stream Convolutional Networksfor Action Recognition in Videos——学习笔记
  14. 大数据可视化陈为智慧树_知到智慧树大数据可视化网课答案
  15. C++初学者必练基础编程题【第一期】
  16. python写金字塔(数字金字塔)
  17. DYNAMIC MOVEMENT PRIMITIVES PART 1: THE BASICS
  18. linux 把进程调到前台,【如何将后台运行的程序转到前台来?】
  19. C# 群发邮件 (密送、抄送)
  20. 地火明夷 (易經大意 韓長庚)

热门文章

  1. 获得有向无环图中起点到终点的所有路径_力扣1514——概率最大的路径
  2. Video Game Troubles(有依赖的背包)
  3. 数字统计1(数组下标法)
  4. 独家 | 揭秘2021双11背后的数据库硬核科技
  5. DataWorks 2021-08 产品月刊(含用户体验季刊!)
  6. 八位技术专家分享他们最喜欢的物联网技术
  7. 《地狱之刃:塞娜的献祭》如何通过人物情感营造恐怖氛围?
  8. 如何做好游戏内实时语音体验
  9. 【BLOCK】Oracle 块管理常用SQL
  10. ajax如何解决浏览器缓存问题