2 u010714784 u010714784 于 2014.12.17 18:48 提问

mysql经常挂掉,重启主机就好了

mysq日志

141211 10:50:25 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data
141211 10:50:26 [Note] Plugin 'FEDERATED' is disabled.
141211 10:50:26 InnoDB: The InnoDB memory heap is disabled
141211 10:50:26 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141211 10:50:26 InnoDB: Compressed tables use zlib 1.2.3
141211 10:50:26 InnoDB: Using Linux native AIO
141211 10:50:26 InnoDB: Initializing buffer pool, size = 128.0M
141211 10:50:26 InnoDB: Completed initialization of buffer pool
141211 10:50:26 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
141211 10:50:26 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
141211 10:50:27 InnoDB: Waiting for the background threads to start
141211 10:50:28 InnoDB: 5.5.37 started; log sequence number 1595675
141211 10:50:28 [Note] Recovering after a crash using mysql-bin
141211 10:50:28 [Note] Starting crash recovery...
141211 10:50:28 [Note] Crash recovery finished.
141211 10:50:28 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
141211 10:50:28 [Note] - '0.0.0.0' resolves to '0.0.0.0';
141211 10:50:28 [Note] Server socket created on IP: '0.0.0.0'.
141211 10:50:28 [Note] Event Scheduler: Loaded 0 events
141211 10:50:28 [Note] /alidata/server/mysql/bin/mysqld: ready for connections.
Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)
141211 10:53:25 [Note] /alidata/server/mysql/bin/mysqld: Normal shutdown

141211 10:53:25 [Note] Event Scheduler: Purging the queue. 0 events
141211 10:53:25 InnoDB: Starting shutdown...
141211 10:53:26 InnoDB: Shutdown completed; log sequence number 1595675
141211 10:53:26 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

141211 10:53:26 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ280q00p7cZ.pid ended
141211 10:57:45 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data
141211 10:57:46 [Note] Plugin 'FEDERATED' is disabled.
141211 10:57:46 InnoDB: The InnoDB memory heap is disabled
141211 10:57:46 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141211 10:57:46 InnoDB: Compressed tables use zlib 1.2.3
141211 10:57:46 InnoDB: Using Linux native AIO
141211 10:57:46 InnoDB: Initializing buffer pool, size = 128.0M
141211 10:57:46 InnoDB: Completed initialization of buffer pool
141211 10:57:46 InnoDB: highest supported file format is Barracuda.
141211 10:57:46 InnoDB: Waiting for the background threads to start
141211 10:57:47 InnoDB: 5.5.37 started; log sequence number 1595675
141211 10:57:47 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
141211 10:57:47 [Note] - '0.0.0.0' resolves to '0.0.0.0';
141211 10:57:47 [Note] Server socket created on IP: '0.0.0.0'.
141211 10:57:47 [Note] Event Scheduler: Loaded 0 events
141211 10:57:47 [Note] /alidata/server/mysql/bin/mysqld: ready for connections.
Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)
141213 21:56:24 [Warning] IP address '42.156.250.117' could not be resolved: Name or service not known
141215 0:09:33 [Warning] IP address '107.150.52.84' could not be resolved: Name or service not known
141215 2:23:23 [Warning] IP address '114.113.55.141' could not be resolved: Name or service not known
141215 16:43:01 [Warning] IP address '61.156.44.98' could not be resolved: Name or service not known
141216 21:56:28 [Warning] IP address '42.120.142.220' could not be resolved: Name or service not known
141217 11:07:01 mysqld_safe Number of processes running now: 0
141217 11:07:01 mysqld_safe mysqld restarted
141217 11:07:01 [Note] Plugin 'FEDERATED' is disabled.
141217 11:07:01 InnoDB: The InnoDB memory heap is disabled
141217 11:07:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141217 11:07:01 InnoDB: Compressed tables use zlib 1.2.3
141217 11:07:01 InnoDB: Using Linux native AIO
141217 11:07:01 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
141217 11:07:01 InnoDB: Completed initialization of buffer pool
141217 11:07:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool
141217 11:07:01 [ERROR] Plugin 'InnoDB' init function returned error.
141217 11:07:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
141217 11:07:01 [ERROR] Unknown/unsupported storage engine: InnoDB
141217 11:07:01 [ERROR] Aborting

141217 11:07:01 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

141217 11:07:01 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ280q00p7cZ.pid ended
141217 11:09:15 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data
141217 11:09:15 [Note] Plugin 'FEDERATED' is disabled.
141217 11:09:15 InnoDB: The InnoDB memory heap is disabled
141217 11:09:15 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141217 11:09:15 InnoDB: Compressed tables use zlib 1.2.3
141217 11:09:15 InnoDB: Using Linux native AIO
141217 11:09:15 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
141217 11:09:15 InnoDB: Completed initialization of buffer pool
141217 11:09:15 InnoDB: Fatal error: cannot allocate memory for the buffer pool
141217 11:09:15 [ERROR] Plugin 'InnoDB' init function returned error.
141217 11:09:15 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
141217 11:09:15 [ERROR] Unknown/unsupported storage engine: InnoDB
141217 11:09:15 [ERROR] Aborting

141217 11:09:15 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

141217 11:09:15 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ280q00p7cZ.pid ended

1个回答

ACMAIN_CHM
ACMAIN_CHM   Ds   Rxr 2014.12.17 23:04

关闭机器的杀毒软件和防火墙然后再试。

Csdn user default icon
上传中...
上传图片
插入图片