MySQL Forums
Forum List  »  German

InnoDB: Fatal error: cannot initialize AIO sub-system
Posted by: Sabine W_
Date: April 27, 2014 12:53PM

Hallo an Alle!
Auf meinem V-Server (gehostet bei Strato, Linux openSUSE 12.2 mit Plesk 11.5) läuft (leider gerade nicht) ein mysql-Server 5.5.
Vor ein paar Tagen ist der Server gestoppt und lässt sich nicht mehr starten. Dazu finde ich folgende Einträge im Log:
---
140425 1:59:29 InnoDB: Using Linux native AIO
140425 1:59:29 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.
140425 1:59:32 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
140425 1:59:32 InnoDB: Fatal error: cannot initialize AIO sub-system
140425 1:59:32 [ERROR] Plugin 'InnoDB' init function returned error.
140425 1:59:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140425 1:59:32 [ERROR] Unknown/unsupported storage engine: InnoDB
140425 1:59:32 [ERROR] Aborting
------
In vielen Threads gibt es einen Hinweis fs.aio-max-nr zu erhöhen. Doch leider hat das nicht funktioniert. Dazu habe ich im Plesk-Forum ein Thread eröffnet (forum.parallels.com/showthread.php?301515-io-error-in-mysql-log). Doch leider habe ich dort keine Antwort erhalten.
Zwischenzeitlich bin ich etwas schlauer. Es sieht wohl so aus, das Strato es nicht zulässt, fs.aio-max-nr zu erhöhen. Dann habe ich nach anderen Möglichkeiten gesucht und das hier gefunden: http://bugs.mysql.com/bug.php?id=61575
Kann man fs.aio-max-nr nicht erhöhen, soll man innodb_read_io_threads und innodb_write_io_threads reduzieren. Das habe ich dann auch versucht, aber leider will mein Server einfach nicht mehr starten. Die Einträge im Log ändern sich nicht. Meine my.cnf habe ich anhand dieser Seite: http://www.rootforum.org/forum/viewtopic.php?f=103&t=36343 konfiguriert und die Pfade angepasst. Den dort vorgeschlagenen Wert von 4G für innodb_buffer_pool_size hat mein Server angemeckert (weil 32-bit) und ich habe 2G eingetragen. Wäre prima, wenn mir jemand einen Tipp geben könnte, wie ich meinen Server wieder zum Laufen bringe.
Danke und Grüße
Sabine

Options: ReplyQuote


Subject
Views
Written By
Posted
InnoDB: Fatal error: cannot initialize AIO sub-system
2806
April 27, 2014 12:53PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.