mysql failed with EAGAIN after 5 attempts.
mysql遇到 failed with EAGAIN after 5 attempts.错误
2020-09-23T19:50:17.468993Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this opved in a future release.
2020-09-23T19:50:17.469099Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.17) initializing of server in progress as process 40
2020-09-23T19:50:17.578377Z 1 [Warning] [MY-012582] [InnoDB] io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
2020-09-23T19:50:17.622065Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 1.
2020-09-23T19:50:18.122210Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 2.
2020-09-23T19:50:18.622360Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 3.
2020-09-23T19:50:19.122499Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 4.
2020-09-23T19:50:19.622673Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 5.
2020-09-23T19:50:20.122838Z 1 [ERROR] [MY-012584] [InnoDB] io_setup() failed with EAGAIN after 5 attempts.
2020-09-23T19:50:20.122867Z 1 [ERROR] [MY-012954] [InnoDB] Cannot initialize AIO sub-system
2020-09-23T19:50:20.122892Z 1 [ERROR] [MY-012929] [InnoDB] InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before tryi
2020-09-23T19:50:20.123066Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2020-09-23T19:50:20.123078Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2020-09-23T19:50:20.123280Z 0 [ERROR] [MY-010119] [Server] Aborting
......
分析原因:
由于内存不足导致,可以增加内存,但是并不是好的解决方式
最终解决:
在 my.cnf 中增加以下配置
[mysqld]
innodb_use_native_aio=0
mysql failed with EAGAIN after 5 attempts.相关推荐
- iosetup mysql_InnoDB: Error: io_setup() failed with EAGAIN after 5 attempt
在一台服务器中以各数据库的备份文件为数据文件启动多个MySQL实例供SQL Review使用.之前运行一直没有问题(最多的时候有23个MyS 在一台服务器中以各数据库的备份文件为数据文件启动多个MyS ...
- iosetup mysql_InnoDB: Error: io_setup() failed with EAGAIN
最近安装好了MySQL之后,在启动MySQL服务时无法正常启动MySQL.提示没有更新/var/lib/mfailedZDB.pid并退出.该MySQL与Oracle位于同一主机.有些内核参数进行过调 ...
- Error occurred: install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-
在遇到类似错误,一般为DBD的包没有编译好,需要重新编译,即可:如: [root@monitor ~]# mmm_control checks db2 ping [last change: 2013/ ...
- mysql_connect fail_Connect to MySQL failed 怎么解决这个问题
展开全部 解决方案 1 登陆失败,mysqladmin修改密码失32313133353236313431303231363533e4b893e5b19e31333337616563败 [root@my ...
- MYSQL Failed to initialize DD Storage Engine
解决方法:rm -rf /var/lib/mysql
- mysql:Failed to read auto-increment value from storage engine
2013年4月25日 09:17:44 与自增值有关 1.导出表结构查看auto_increment的值是否已经过大 2.查看auto_increment的值相对于那个自增字段设定的数据类型是否过大( ...
- abp mysql Failed executing DbCommand (0ms) [Parameters=[], CommandType=‘Text‘, CommandTimeout=‘30‘]
问题情况: 运行.DbMigrator时出现报错 解决方法: 在 .EntityFrameworkCore项目终端运行--dotnet ef database drop 删除数据库,重新运行 .DbM ...
- fs.aio max nr mysql_技术分享 | MySQL 主机该如何配置 fs.aio-max-nr
MySQL 默认是启用 innodb_use_native_aio,使用异步 IO 操作,MySQL 启动时所需 aio slot 若超过系统当前 fs.aio-max-nr 设置,则无法启动报错 I ...
- mysql 数据库初始化失败怎么办,MYSQL初始化错误方式详解
mysql初始化错误[一] MySQL 初始化DATA报错 [ERROR] InnoDB: io_setup() failed with EAGAIN after 5 attempts. [ERROR ...
最新文章
- libseccomp2 (>= 2.3.0) but 2.2.3-3ubuntu3 is to be installed
- C# 7中函数多值返回_转自InfoQ
- 修复SQL Server Compact数据库时遇到找不到指定的模块的异常
- open-capacity-platform 项目启动
- 电脑知识:新电脑数据迁移解决方案,看完你就会了!
- [2019CSP多校联赛普及组第五周] 调度CPU (贪心)
- 互联网晚报 | 1月29日 星期六 | 支付宝相互宝正式关停;大钲资本成瑞幸咖啡实控人;苹果创有史以来最高单季营收...
- 别再传李笑来的录音了!这才是有关区块链最靠谱最简单易懂的科普
- MPAA正在对BT下毒手,BT大站被警方关闭
- TFS无法连接:TF31002
- 基于Idea+Java+MySQL+SSM的毕业设计网上管理系统(建议收藏)
- [转帖]VBS 教程
- HpSocket源码使用
- windows下远程连接Mysql
- outlook 签名 设置
- 【Excel】之数据透视表及动态图表
- openlayer地图裁切
- php序顶部导航,页面上下滚动改变顶部导航的定位方式
- 微信小程序 前端 支付流程
- 史上最严数据保护条例欧盟GDPR今日生效,你可能需要这版中文全文(下)