Skip to content

Instantly share code, notes, and snippets.

@blaudden
blaudden / 60-mysql-aio-max-nr.conf
Last active August 17, 2021 08:36
MySQL io_setup() failed with EAGAIN after 5 attempts
# MySQL Server startup fails when the InnoDB storage engine attempts to
# allocate more resources for asynchronous IO than are available on the
# host system.
#
# [MY-012582] [InnoDB] io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
# <snip>
# [MY-012583] [InnoDB] io_setup() attempt 5.
# [MY-012584] [InnoDB] io_setup() failed with EAGAIN after 5 attempts.
# [MY-012587] [InnoDB] You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
# [MY-012954] [InnoDB] Cannot initialize AIO sub-system