先说一下,发现MySQL服务停了,启动就又好了,但是好奇服务意外停止的原因,所以看了一下MySQL的错误日志。

但是到底是哪个错误导致MySQL服务意外终止,还没有定论,故有了此篇文章,还望知道原因的大侠能告知~

环境:

  OS: windows server 2012 R2

  MYSQL: MySQL5.6

错误日志提示(部分)xx是被我替换后的:

2019-07-16 14:57:08 1304 [ERROR] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: The table 'xx' is full
2019-07-16 14:57:08 1304 [ERROR] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: The table 'xx' is full
2019-07-2019-07-17 15:42:34 3608 InnoDB: Encountered a problem with file .\case3\cache_block.ibd
2019-07-17 15:42:34 3608 InnoDB: Disk is full. Try to clean the disk to free space.
2019-07-17 15:42:34 1304 [ERROR] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: The table 'xxxx' is full
2019-07-17 15:42:34 1304 [ERROR] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: The table 'xx' is full
2019-07-17 15:42:34 1304 [ERROR] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: The table 'xxxx' is full
2019-07-17 15:42:34 3608 InnoDB: Encountered a problem with file .\xxx\xxxxxxxxxx.ibd
2019-07-17 15:42:34 3608 InnoDB: Disk is full. Try to clean the disk to free space.
2019-07-17 15:42:34 1304 [ERROR] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: The table 'xxxx' is full
InnoDB: Error: trying to access page number 4294967289 in space 5481,
InnoDB: space name xx/yy,
InnoDB: which is outside the tablespace bounds.
InnoDB: Byte offset 0, len 16384, i/o type 10.
InnoDB: If you get this error at mysqld startup, please check that
InnoDB: your my.cnf matches the ibdata files that you have in the
InnoDB: MySQL server.
2019-07-17 18:06:07 3c18 InnoDB: Assertion failure in thread 15384 in file fil0fil.cc line 5666
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.

  

感觉关键信息有以下几点:

1.The table 'xxx' is full

2.Encountered a problem with file xxx.ibd

3.Disk is full

4.trying to access page number 4294967289 in space 5481

然后网上查资料呗~

结论:

结论1:bug说:

  即“trying to access page number ”是mysql的一个bug 链接:链接

结论2:磁盘满了(可能性较大)

  依据:Mysql:The table‘xxxx’is full 、Disk is full和“Encountered a problem with file xxx.ibd”(xxx是表名)

·  我们这个服务器在7-16号确实发生了数据库所在磁盘磁盘空间被占满,剩余空间为0的情况。

  可是上次磁盘满了,数据库并没有挂啊,只是apache服务也没有挂。只不过apache写服务器的访问日志时出错,我删除了一些磁盘上不用的文件,并重启apache就好了。

  而且table is full的信息,在16号就出现了,但是当时mysql服务并没有挂啊。

  难带是因为table is full出现次数过多,导致数据库文件损坏(猜测,网上没有查到相关资料佐证),进而导致MySQL服务挂掉(也是猜测,网上没有查到相关资料佐证)?

 

最新文章

  1. CodeForces 514B
  2. php 导出对象生成代码并执行var_export和eval
  3. 深入理解Oracle的并行操作-转载
  4. asp.net实现动态添加table行
  5. Eclipse 无线调试(利用ADB工具)
  6. [ACM_数学] 大菲波数 (hdu oj 1715 ,java 大数)
  7. bootstrap实战经验
  8. UE4编程之C++创建一个FPS工程(一)创建模式&角色&处理输入
  9. php unserialize 返回false的解决方法
  10. BZOJ 3170 松鼠聚会(XY坐标)
  11. How Uuencoding Works
  12. Codeforces Round #363 (Div. 2)->A. Launch of Collider
  13. Android启动activity的4种模式(standard、singleTop、singleTask、singleINstance)
  14. Linux下fork()、vfork()、clone()和exec()的区别
  15. PhoneGap + Dreamweaver 5.5 无法在模拟器中打开的问题(二)
  16. bzoj3174 [Tjoi2013]拯救小矮人
  17. 负重前行的婚纱线上路 - i天下网商-最具深度的电商知识媒体
  18. Linux常用操作命令(一)
  19. Selenium中如何使用xpath更快定位
  20. 基于jquery的城市选择插件

热门文章

  1. 【NOIP2014模拟11.3】噪音
  2. angular-seed — AngularJS种子项目
  3. Swagger+SpringBoot整理
  4. 2019.9.16JAVA课堂作业
  5. nginx typecho config
  6. VGA接口一根针折了
  7. 用Vue来实现音乐播放器(三十八):歌词滚动列表的问题
  8. robot framework 接口自动化之登录
  9. 系统分析与设计HW5
  10. Mybatis-plus 思维导图,让 Mybatis-plus 不再难懂