我有一個不可伸縮的OpenShift應用與的Tomcat 7和的MySQL 5.5這個應用程序只有一個在其上運行的小Java應用程序。這個應用程序運行良好幾個月,但自從上週它停止工作。當我嘗試使用OpenShift儀表盤我收到以下錯誤消息,重新啓動應用程序:錯誤重啓Openshift MySQL的墨盒
Starting MySQL 5.5 cartridge
MySQL server failed to start:
140305 07:01:47 mysqld_safe Logging to '/var/lib/openshift/53104e375973cad496000022/mysql//log/mysql_error.log'.
140305 07:01:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/openshift/53104e375973cad496000022/mysql/data/
140305 07:01:52 mysqld_safe mysqld from pid file /var/lib/openshift/53104e375973cad496000022/mysql/pid/mysql.pid ended
140305 07:01:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/openshift/53104e375973cad496000022/mysql/data/
140305 7:01:49 [Note] Plugin 'FEDERATED' is disabled.
140305 7:01:49 InnoDB: The InnoDB memory heap is disabled
140305 7:01:49 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140305 7:01:49 InnoDB: Compressed tables use zlib 1.2.3
140305 7:01:49 InnoDB: Using Linux native AIO
140305 7:01:49 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.
140305 7:01:52 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
140305 7:01:52 InnoDB: Fatal error: cannot initialize AIO sub-system
140305 7:01:52 [ERROR] Plugin 'InnoDB' init function returned error.
140305 7:01:52 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140305 7:01:52 [ERROR] Unknown/unsupported storage engine: InnoDB
140305 7:01:52 [ERROR] Aborting
140305 7:01:52 [Note] /opt/rh/mysql55/root/usr/libexec/mysqld: Shutdown complete
140305 07:01:52 mysqld_safe mysqld from pid file /var/lib/openshift/53104e375973cad496000022/mysql/pid/mysql.pid ended
Failed to execute: 'control restart' for /var/lib/openshift/53104e375973cad496000022/mysql
顯然MySQL的盒沒有以某種方式重新啓動,但我沒有在我的Java應用程序或齒輪配置改變什麼。
有人知道爲什麼會發生這種情況嗎?我不想簡單地刪除MySQL並重新添加它,因爲如果我不確定根本原因,將來可能再次發生此問題。
在此先感謝。
我的配額是好的。我只用了180 MB。不知道爲什麼我從這個地方得到這個錯誤... – vegidio