• mysql5.7问题:[Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool


    在关闭mysql5.7的时候发现问题,一直处于夯住状态

    [root@localhost ~]# /etc/init.d/mysqld stop
    Shutting down MySQL...............................................................................................................................................................................................................................................................................................................................................................

    查看日志

    [root@localhost logs]# tail -f mysql-error.log 
    2019-08-27T09:55:12.789085Z 0 [Note] Shutting down plugin 'INNODB_CMP'
    2019-08-27T09:55:12.789098Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
    2019-08-27T09:55:12.789110Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
    2019-08-27T09:55:12.789120Z 0 [Note] Shutting down plugin 'INNODB_TRX'
    2019-08-27T09:55:12.789129Z 0 [Note] Shutting down plugin 'InnoDB'
    2019-08-27T09:55:12.789764Z 0 [Note] InnoDB: FTS optimize thread exiting.
    2019-08-27T09:55:12.790347Z 0 [Note] InnoDB: Starting shutdown...
    2019-08-27T09:55:12.892529Z 0 [Note] InnoDB: Dumping buffer pool(s) to /opt/data/mysql/ib_buffer_pool
    2019-08-27T09:55:12.893560Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 190827 17:55:12
    2019-08-27T09:56:14.348034Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
    2019-08-27T09:57:14.938167Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
    2019-08-27T09:58:15.580395Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
    2019-08-27T09:59:16.164504Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
    2019-08-27T10:00:16.749212Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
    2019-08-27T10:01:17.380468Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
    2019-08-27T10:02:18.073085Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool

     查找问题,想了想,我修改了服务器的时间,造成系统时间与mysql缓存的时间不一致,我是把时间改提前了,处理方法

    date -s 2019-08-28 #把时间改在mysql正常运行的时间之后
    date -s  18:05:20
    查看
    ps -ef|grep mysql #mysql自己停止了

    最后改回正常时间就可以了

  • 相关阅读:
    【HTML】使用css3和html给网站添加上春节灯笼特效
    【CSS】学习笔记2 字体设置
    【CSS】学习笔记3 段落设置
    【CSS】学习笔记1 使用CSS样式表
    正则
    图片懒加载
    uni-app-组件
    uni-app-condition(条件)启动模式
    uni-app-页面
    uni-app项目目录和开发规范
  • 原文地址:https://www.cnblogs.com/mmyy-blog/p/11419969.html
Copyright © 2020-2023  润新知