免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3216 | 回复: 5
打印 上一主题 下一主题

mysql無端端自動重啟 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-12-05 22:12 |只看该作者 |倒序浏览
我的MYSQL好像無端端 自動重啟?
Version: '5.0.77-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
101205 15:58:37  mysqld started
InnoDB: Log scan progressed past the checkpoint lsn 6 1841396097
101205 15:58:39  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 6 1841396852
101205 15:59:02  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 89336377, file name ./mysql-bin.000042
101205 15:59:02  InnoDB: Started; log sequence number 6 1841396852
101205 15:59:03 [Note] Recovering after a crash using mysql-bin
101205 15:59:09 [Note] Starting crash recovery...
101205 15:59:09 [Note] Crash recovery finished.
101205 15:59:10 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.77-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution



從監控圖像上看是突然CACHE釋放了。

請哪位大俠能解答一下為什么嗎?

论坛徽章:
0
2 [报告]
发表于 2010-12-08 15:31 |只看该作者
你需要监控下机器当时的负载或是内存和CPU使用情况

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
3 [报告]
发表于 2010-12-08 22:56 |只看该作者
之前的日志也给的太少了点吧

看看error日志

论坛徽章:
0
4 [报告]
发表于 2010-12-10 13:47 |只看该作者
我以前碰过同样现象,最后查出来是有几个TABLE坏了,修复TABLE后解决

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
5 [报告]
发表于 2010-12-10 19:11 |只看该作者
我以前碰过同样现象,最后查出来是有几个TABLE坏了,修复TABLE后解决
lingg2010 发表于 2010-12-10 13:47



    这个日志中都会提示的

论坛徽章:
0
6 [报告]
发表于 2010-12-13 00:05 |只看该作者
回复 2# bitterness


    CPU不超过10%,内存4G,但是使用量不超过1G,因为每天执行自动备份,3点和15点(有可能锁表,但之前运行进一年都没有事情的,近排换了机器就出问题了,有点怀疑是机器的故障,比如电源、主板稳定性方面的)。  所以CACHE很高。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP