最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
mariadb数据库aio-max_nr错误解决方法
时间:2022-06-29 10:36:43 编辑:袖梨 来源:一聚教程网
在mariadb-10.0.12的时候,一个机器跑多个实例时,可能会出现如下报错。
2014-09-04 14:15:50 7f6c46b1f720 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
2014-09-04 14:15:52 7f6c46b1f720 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
InnoDB: Warning: Linux Native AIO disabled because os_aio_linux_create_io_ctx() failed. To get rid of this warning you can try increasing system fs.aio-max-nr to 1048576 or larger or setting innodb_use_native_aio = 0 in my.cnf
解决办法:
root@localhost:~# echo “fs.aio-max-nr = 1048576″ >> /etc/sysctl.conf && sysctl -p
相关文章
- 伊瑟水生绫智壳源器怎么选 水生绫智壳源器选择推荐 10-16
- 空洞骑士丝之歌圣咏外衣怎么获得 圣咏外衣获取攻略 10-16
- 崩坏星穹铁道丹恒腾荒光锥怎么带-丹恒腾荒光锥搭配推荐 10-16
- 荒原曙光奇物愈合珍珠怎么获得 奇物愈合珍珠获取攻略 10-15
- 荒原曙光黏土怎么获得 黏土获取攻略 10-15
- 荒原曙光奇物收容箱子怎么获得 奇物收容箱子获取攻略 10-15