升级到 MySQL 8.4,MySQL 启动报错:io_setup() failed with EAGAIN
|
问题
最近碰到一个 case,一台主机上,部署了多个实例。之前使用的是 MySQL 8.0,启动时没有任何问题。但升级到 MySQL 8.4 后,部分实例在启动时出现了以下错误。- [Warning] [MY-012582] [InnoDB] io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
- [Warning] [MY-012583] [InnoDB] io_setup() attempt 1.
- [Warning] [MY-012583] [InnoDB] io_setup() attempt 2.
- [Warning] [MY-012583] [InnoDB] io_setup() attempt 3.
- [Warning] [MY-012583] [InnoDB] io_setup() attempt 4.
- [Warning] [MY-012583] [InnoDB] io_setup() attempt 5.
- [ERROR] [MY-012584] [InnoDB] io_setup() failed with EAGAIN after 5 attempts.
- [ERROR] [MY-012954] [InnoDB] Cannot initialize AIO sub-system
- [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
- [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
- [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
- [ERROR] [MY-010119] [Server] Aborting
- [System] [MY-010910] [Server] /usr/local/mysql/bin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
- [System] [MY-015016] [Server] MySQL Server - end.
复制代码 下面我们来分析下这个报错的具体原因及解决方法。
定位过程
首先搜索下这个报错是在哪个文件产生的。
[code]# grep "io_setup() failed" -r /usr/src/mysql-8.4.0
/usr/src/mysql-8.4.0/storage/innobase/os/os0file.cc: ib::warn(ER_IB_MSG_757) |
|
|
|
发表于 2024-7-1 18:33:28
举报
回复
分享
|
|
|
|