snang 发表于 2018-9-30 11:43:45

军哥mysql老挂,php进程数已经调低,但还是不行,帮忙看看什么原因?

军哥mysql老挂,php进程数已经调低,也把程序优化了一下,但是效果还是不理想,麻烦军哥看看什么原因?下面是mysql的日志。
1809308:11:36 Got error 134 when reading table './wx_zhaog/ims_core_cache'
1809308:11:39 Got error 134 when reading table './wx_zhaog/ims_core_cache'
1809308:11:40 Got error 134 when reading table './wx_zhaog/ims_core_cache'
1809308:11:42 Got error 134 when reading table './wx_zhaog/ims_core_cache'
1809308:12:45 Plugin 'FEDERATED' is disabled.
1809308:12:45 InnoDB: The InnoDB memory heap is disabled
1809308:12:45 InnoDB: Mutexes and rw_locks use GCC atomic builtins
1809308:12:45 InnoDB: Compressed tables use zlib 1.2.7
1809308:12:45 InnoDB: Initializing buffer pool, size = 128.0M
1809308:12:45 InnoDB: Completed initialization of buffer pool
1809308:12:45 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!
1809308:12:45InnoDB: 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...
InnoDB: Last MySQL binlog file position 0 5830760, file name ./mysql-bin.000225
1809308:12:46InnoDB: Waiting for the background threads to start
1809308:12:47 InnoDB: 5.5.56 started; log sequence number 3908621716
1809308:12:47 Recovering after a crash using mysql-bin
1809308:12:47 Starting crash recovery...
1809308:12:47 Crash recovery finished.
1809308:12:47 Server hostname (bind-address): '0.0.0.0'; port: 3306
1809308:12:47    - '0.0.0.0' resolves to '0.0.0.0';
1809308:12:47 Server socket created on IP: '0.0.0.0'.
1809308:12:47 Event Scheduler: Loaded 0 events
1809308:12:47 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.56-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
180930 10:58:54 Plugin 'FEDERATED' is disabled.
180930 10:58:54 InnoDB: The InnoDB memory heap is disabled
180930 10:58:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
180930 10:58:54 InnoDB: Compressed tables use zlib 1.2.7
180930 10:58:54 InnoDB: Initializing buffer pool, size = 128.0M
180930 10:58:55 InnoDB: Completed initialization of buffer pool
180930 10:58:55 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!
180930 10:58:55InnoDB: 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...
InnoDB: Last MySQL binlog file position 0 917272, file name ./mysql-bin.000226
180930 10:58:57InnoDB: Waiting for the background threads to start
180930 10:58:58 InnoDB: 5.5.56 started; log sequence number 3908622076
180930 10:58:58 Recovering after a crash using mysql-bin
180930 10:58:58 Starting crash recovery...
180930 10:58:58 Crash recovery finished.
180930 10:58:58 Server hostname (bind-address): '0.0.0.0'; port: 3306
180930 10:58:58    - '0.0.0.0' resolves to '0.0.0.0';
180930 10:58:58 Server socket created on IP: '0.0.0.0'.
180930 10:58:58 Event Scheduler: Loaded 0 events
180930 10:58:58 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.56-log'socket: '/tmp/mysql.sock'port: 3306Source distribution

licess 发表于 2018-9-30 17:44:48

Got error 134 when reading table './wx_zhaog/ims_core_cache'
这个的话是数据库表有损坏,修复一下就行
其他就是mysql异常退出,不清楚原因,有可能是系统资源不够被kill掉了
页: [1]
查看完整版本: 军哥mysql老挂,php进程数已经调低,但还是不行,帮忙看看什么原因?