Heim  >  Artikel  >  Datenbank  >  InnoDB:Error:io_setup()failedwithEAGAIN

InnoDB:Error:io_setup()failedwithEAGAIN

WBOY
WBOYOriginal
2016-06-07 15:56:181438Durchsuche

最近安装好了MySQL之后,在启动MySQL服务时无法正常启动MySQL。提示没有更新/var/lib/mfailedZDB.pid并退出。该MySQL与Oracle位于同一主机。有些内核参数进行过调整应该也是使用与MySQL。下面是该问题的具体描述。 1、故障现象 SZDB:~ # cat /etc/issue #故

最近安装好了MySQL之后,在启动MySQL服务时无法正常启动MySQL。提示没有更新/var/lib/mfailedZDB.pid并退出。该MySQL与Oracle位于同一主机。有些内核参数进行过调整应该也是使用与MySQL。下面是该问题的具体描述。

1、故障现象

SZDB:~ # cat /etc/issue #故障环境 

2、故障分析

#从上面的错误日志中可以看到,关键的一个信息io_setup() failed with EAGAIN 

3、故障解决

SZDB:~ # vi /etc/sysctl.conf

SZDB:~ # sysctl -p

# Author : Leshami

SZDB:~ # /etc/init.d/mysql start #调整后启动成功 

4、关于fs.aio-max-nr

aio-nr & aio-max-nr:

NAME

SYNOPSIS

Tag Description

DESCRIPTION:

RETURN VALUE:

ERRORS:

EFAULT An invalid pointer is passed for ctxp.

ENOMEM Insufficient kernel resources are available.

EAGAIN The specified maxevents exceeds the user’s limit of available events.#此案例中返回的时超出了可用event限制的最大值

ENOSYS io_setup() is not implemented on this architecture.

更多参考

有关Oracle RAC请参考

有关Oracle 网络配置相关基础以及概念性的问题请参考:

有关基于用户管理的备份和备份恢复的概念请参考

有关RMAN的备份恢复与管理请参考

有关ORACLE体系结构请参考

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn