2017-10-04 83 views
0

我的Mysql實例不斷關閉。MySQL崩潰 - Ubuntu 14.04.5/MYSQL 5.5.53

運行:Ubuntu的LTS 14.04.5 mysql的 innodb_version 53年5月5日

有人可以幫我做這個錯誤日誌的意義嗎?

171004 10:21:30 [Warning] IP address 'xxxxxxxxxxxxxx' could not be resolved: Name or service not known 
171004 11:07:52 [Warning] IP address 'xxxxxxxxxxxxxx' could not be resolved: Name or service not known 
171004 11:16:22 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 
171004 11:16:22 [Note] Plugin 'FEDERATED' is disabled. 
171004 11:16:22 InnoDB: The InnoDB memory heap is disabled 
171004 11:16:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
171004 11:16:22 InnoDB: Compressed tables use zlib 1.2.8 
171004 11:16:22 InnoDB: Using Linux native AIO 
171004 11:16:22 InnoDB: Initializing buffer pool, size = 128.0M 
InnoDB: mmap(137363456 bytes) failed; errno 12 
171004 11:16:22 InnoDB: Completed initialization of buffer pool 
171004 11:16:22 InnoDB: Fatal error: cannot allocate memory for the buffer pool 
171004 11:16:22 [ERROR] Plugin 'InnoDB' init function returned error. 
171004 11:16:22 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
171004 11:16:22 [ERROR] Unknown/unsupported storage engine: InnoDB 
171004 11:16:22 [ERROR] Aborting 

171004 11:16:22 [Note] /usr/sbin/mysqld: Shutdown complete 

171004 11:16:23 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 
171004 11:16:23 [Note] Plugin 'FEDERATED' is disabled. 
171004 11:16:23 InnoDB: The InnoDB memory heap is disabled 
171004 11:16:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
171004 11:16:23 InnoDB: Compressed tables use zlib 1.2.8 
171004 11:16:23 InnoDB: Using Linux native AIO 
171004 11:16:23 InnoDB: Initializing buffer pool, size = 128.0M 
InnoDB: mmap(137363456 bytes) failed; errno 12 
171004 11:16:23 InnoDB: Completed initialization of buffer pool 
171004 11:16:23 InnoDB: Fatal error: cannot allocate memory for the buffer pool 
171004 11:16:23 [ERROR] Plugin 'InnoDB' init function returned error. 
171004 11:16:23 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
171004 11:16:23 [ERROR] Unknown/unsupported storage engine: InnoDB 
171004 11:16:23 [ERROR] Aborting 

171004 11:16:23 [Note] /usr/sbin/mysqld: Shutdown complete 

回答

1

171004 11:16:22 InnoDB: Initializing buffer pool, size = 128.0M.
InnoDB: mmap(137363456 bytes) failed; errno 12.
171004 11:16:22 InnoDB: Completed initialization of buffer pool.
171004 11:16:22 InnoDB: Fatal error: cannot allocate memory for the buffer pool.

您沒有足夠的內存來啓動mysql。

嘗試更新的my.cnf包括innodb_buffer_pool=16M

檢查你的記憶情況與free -m