VPS侦探论坛

标题: mysql经常自己停止,是内存不够吗?已上传错误日志 [打印本页]

作者: jasonstar    时间: 2016-8-3 19:18
标题: mysql经常自己停止,是内存不够吗?已上传错误日志
mysql经常自己停止,是内存不够吗?已上传错误日志1G的内存
[attach]3491[/attach]
作者: jasonstar    时间: 2016-8-3 20:02
好像不是内存的问题。貌似innodb的事儿 。麻烦军哥看下呗,可以复现好多回

补2个错误的日志 最后
作者: jasonstar    时间: 2016-8-3 20:06
160803 19:55:57 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
2016-08-03 19:55:58 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-08-03 19:55:58 9509 [Note] Plugin 'FEDERATED' is disabled.
2016-08-03 19:55:58 b77ea8e0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-08-03 19:55:58 9509 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-08-03 19:55:58 9509 [Note] InnoDB: The InnoDB memory heap is disabled
2016-08-03 19:55:58 9509 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-08-03 19:55:58 9509 [Note] InnoDB: Memory barrier is not used
2016-08-03 19:55:58 9509 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-08-03 19:55:58 9509 [Note] InnoDB: Not using CPU crc32 instructions
2016-08-03 19:55:58 9509 [Note] InnoDB: Initializing buffer pool, size = 500.0M
2016-08-03 19:55:58 9509 [Note] InnoDB: Completed initialization of buffer pool
2016-08-03 19:55:58 9509 [Note] InnoDB: Highest supported file format is Barracuda.
2016-08-03 19:55:58 9509 [Note] InnoDB: Log scan progressed past the checkpoint lsn 177476077
2016-08-03 19:55:58 9509 [Note] InnoDB: Database was not shutdown normally!
2016-08-03 19:55:58 9509 [Note] InnoDB: Starting crash recovery.
2016-08-03 19:55:58 9509 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-08-03 19:55:58 9509 [Note] InnoDB: Restoring possible half-written data pages
2016-08-03 19:55:58 9509 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 177499552
2016-08-03 19:55:59 9509 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 17523, file name mysql-bin.000034
2016-08-03 19:55:59 9509 [Note] InnoDB: 128 rollback segment(s) are active.
2016-08-03 19:55:59 9509 [Note] InnoDB: Waiting for purge to start
2016-08-03 19:55:59 9509 [Note] InnoDB: 5.6.23 started; log sequence number 177499552
2016-08-03 19:55:59 9509 [Note] Recovering after a crash using mysql-bin
2016-08-03 19:55:59 9509 [Note] Starting crash recovery...
2016-08-03 19:55:59 9509 [Note] Crash recovery finished.
2016-08-03 19:55:59 9509 [Note] Server hostname (bind-address): '*'; port: 3306
2016-08-03 19:55:59 9509 [Note] IPv6 is not available.
2016-08-03 19:55:59 9509 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
2016-08-03 19:55:59 9509 [Note] Server socket created on IP: '0.0.0.0'.
2016-08-03 19:56:00 9509 [Note] Event Scheduler: Loaded 0 events
2016-08-03 19:56:00 9509 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.23-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
160803 19:56:34 mysqld_safe Number of processes running now: 0
160803 19:56:34 mysqld_safe mysqld restarted
2016-08-03 19:56:35 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-08-03 19:56:35 9573 [Note] Plugin 'FEDERATED' is disabled.
2016-08-03 19:56:35 b77978e0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-08-03 19:56:35 9573 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-08-03 19:56:35 9573 [Note] InnoDB: The InnoDB memory heap is disabled
2016-08-03 19:56:35 9573 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-08-03 19:56:35 9573 [Note] InnoDB: Memory barrier is not used
2016-08-03 19:56:35 9573 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-08-03 19:56:35 9573 [Note] InnoDB: Not using CPU crc32 instructions
2016-08-03 19:56:35 9573 [Note] InnoDB: Initializing buffer pool, size = 500.0M
2016-08-03 19:56:35 9573 [Note] InnoDB: Completed initialization of buffer pool
2016-08-03 19:56:35 9573 [Note] InnoDB: Highest supported file format is Barracuda.
2016-08-03 19:56:35 9573 [Note] InnoDB: The log sequence numbers 167747050 and 167747050 in ibdata files do not match the log sequence number 177512208 in the ib_logfiles!
2016-08-03 19:56:35 9573 [Note] InnoDB: Database was not shutdown normally!
2016-08-03 19:56:35 9573 [Note] InnoDB: Starting crash recovery.
2016-08-03 19:56:35 9573 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-08-03 19:56:35 9573 [Note] InnoDB: Restoring possible half-written data pages
2016-08-03 19:56:35 9573 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Last MySQL binlog file position 0 7328, file name mysql-bin.000035
2016-08-03 19:56:36 9573 [Note] InnoDB: 128 rollback segment(s) are active.
2016-08-03 19:56:36 9573 [Note] InnoDB: Waiting for purge to start
2016-08-03 19:56:36 9573 [Note] InnoDB: 5.6.23 started; log sequence number 177512208
2016-08-03 19:56:36 9573 [Note] Recovering after a crash using mysql-bin
2016-08-03 19:56:36 9573 [Note] Starting crash recovery...
2016-08-03 19:56:36 9573 [Note] Crash recovery finished.
2016-08-03 19:56:36 9573 [Note] Server hostname (bind-address): '*'; port: 3306
2016-08-03 19:56:36 9573 [Note] IPv6 is not available.
2016-08-03 19:56:36 9573 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
2016-08-03 19:56:36 9573 [Note] Server socket created on IP: '0.0.0.0'.
2016-08-03 19:56:36 9573 [Note] Event Scheduler: Loaded 0 events
2016-08-03 19:56:36 9573 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.23-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
160803 19:56:54 mysqld_safe Number of processes running now: 0
160803 19:56:54 mysqld_safe mysqld restarted
2016-08-03 19:56:57 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-08-03 19:56:57 9619 [Note] Plugin 'FEDERATED' is disabled.
2016-08-03 19:56:57 b76fd8e0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-08-03 19:56:57 9619 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-08-03 19:56:57 9619 [Note] InnoDB: The InnoDB memory heap is disabled
2016-08-03 19:56:57 9619 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-08-03 19:56:57 9619 [Note] InnoDB: Memory barrier is not used
2016-08-03 19:56:57 9619 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-08-03 19:56:57 9619 [Note] InnoDB: Not using CPU crc32 instructions
2016-08-03 19:56:57 9619 [Note] InnoDB: Initializing buffer pool, size = 500.0M
160803 19:56:58 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ28f5evvmgZ.pid ended
作者: licess    时间: 2016-8-3 20:14
估计可能是内存不足挂了




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4