Saba note

醜悪コード Ugly hacks ITものづくり

mysqlが停止する

MySQLが比較的頻繁に勝手におちてしまうわけで、これでは結構困るなと。Swapを設定して解決という記事がいっぱいあるので、取り急ぎはそれで対処。

環境は以下

OS: CentOS6
MySQL: Version: '5.6.37'

mysqllogは以下のとおり。

2018-04-02 09:44:30 21713 [Note] Plugin 'FEDERATED' is disabled.
2018-04-02 09:44:30 21713 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-04-02 09:44:30 21713 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-02 09:44:30 21713 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-02 09:44:30 21713 [Note] InnoDB: Memory barrier is not used
2018-04-02 09:44:30 21713 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-04-02 09:44:30 21713 [Note] InnoDB: Using Linux native AIO
2018-04-02 09:44:30 21713 [Note] InnoDB: Using CPU crc32 instructions
2018-04-02 09:44:30 21713 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-04-02 09:44:30 21713 [Note] InnoDB: Completed initialization of buffer pool
2018-04-02 09:44:31 21713 [Note] InnoDB: Highest supported file format is Barracuda.
2018-04-02 09:44:31 21713 [Note] InnoDB: The log sequence numbers 9078672 and 9078672 in ibdata files do not match the log sequence number 68568707 in the ib_logfiles!

2018-04-02 09:44:31 21713 [Note] InnoDB: Database was not shutdown normally!
2018-04-02 09:44:31 21713 [Note] InnoDB: Starting crash recovery.
2018-04-02 09:44:31 21713 [Note] InnoDB: Reading tablespace information from the .ibd files...
2018-04-02 09:44:31 21713 [Note] InnoDB: Restoring possible half-written data pages 
2018-04-02 09:44:31 21713 [Note] InnoDB: from the doublewrite buffer...
2018-04-02 09:44:31 21713 [Note] InnoDB: 128 rollback segment(s) are active.
2018-04-02 09:44:31 21713 [Note] InnoDB: Waiting for purge to start
2018-04-02 09:44:31 21713 [Note] InnoDB: 5.6.37 started; log sequence number 68568707
2018-04-02 09:44:31 21713 [Note] Server hostname (bind-address): '*'; port: 3306
2018-04-02 09:44:31 21713 [Note] IPv6 is available.
2018-04-02 09:44:31 21713 [Note]   - '::' resolves to '::';
2018-04-02 09:44:31 21713 [Note] Server socket created on IP: '::'.
2018-04-02 09:44:31 21713 [Note] Event Scheduler: Loaded 0 events
2018-04-02 09:44:31 21713 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.37'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)

MySQL Plugin ’FEDERATED’ is disabled. について
AmazonAWSで、MySQL がよく落ちる? そんな時はSWAP領域をチェック!
Apachelogviewerを使ってアクセス解析をする方法

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です