zoukankan      html  css  js  c++  java
  • [ERROR] [FATAL] InnoDB: Semaphore

    mysql版本:5.7.29

    今天在导入大数据的dump文件的时候,数据库自动重启,查看错误日志如下:

    2021-08-12T01:51:52.625334Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 4690ms. The settings might not be optimal. (flushed=155 and evicted=0, during the time.)
    InnoDB: ###### Diagnostic info printed to the standard error stream
    2021-08-12T01:51:56.796554Z 0 [ERROR] [FATAL] InnoDB: Semaphore wait has lasted > 600 seconds. We intentionally crash the server because it appears to be hung.
    2021-08-12 09:51:56 0x7f0a63a6d700  InnoDB: Assertion failure in thread 139682598278912 in file ut0ut.cc line 918
    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.7/en/forcing-innodb-recovery.html
    InnoDB: about forcing recovery.
    01:51:57 UTC - mysqld got signal 6 ;
    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.

    解决办法:

    关闭innodb_adaptive_hash_index

    set global innodb_adaptive_hash_index=0;

  • 相关阅读:
    redis中save和bgsave区别
    scrapy生成json中文为ASCII码解决
    mysql数据库,创建只读用户
    memcached命令行、Memcached数据导出和导入
    Memcache 查看列出所有key方法
    Elasticsearch5.x 引擎健康情况
    docker容器创建MariaDB镜像
    大文本数据排序
    换行符 和回车符
    索引与文本文件
  • 原文地址:https://www.cnblogs.com/hxlasky/p/15131694.html
Copyright © 2011-2022 走看看