- 论坛徽章:
- 2
|
本帖最后由 cenalulu 于 2013-07-02 15:16 编辑
mysql 数据库隔几个月就当掉,下面是错误log.是由于死锁引起的吗?
- select * from table123
- Trx read view will not see trx with id >= 0 3611757250, sees < 0 3611754257
- ---TRANSACTION 0 3611757091, ACTIVE 52 sec, process no 8304, OS thread id 2916936592
- mysql tables in use 1, locked 0
- MySQL thread id 32608, query id 780248056 localhost root Sending data
- select * from table123
- Trx read view will not see trx with id >= 0 3611757092, sees < 0 3611736852
- ---TRANSACTION 0 3611737563, COMMITTED IN MEMORY, process no 8304, OS thread id 2888760208 committing, thread declared inside InnoDB 498
- mysql tables in use 1, locked 1
- , undo log entries 1
- MySQL thread id 30043, query id 780228528 localhost root end
- update `ignore` set `i_count`=2249 , `updatetime`=1371097812
- --------
- FILE I/O
- --------
- I/O thread 0 state: waiting for i/o request (insert buffer thread)
- I/O thread 1 state: waiting for i/o request (log thread)
- I/O thread 2 state: waiting for i/o request (read thread)
- I/O thread 3 state: waiting for i/o request (write thread)
- Pending normal aio reads: 0, aio writes: 0,
- ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
- Pending flushes (fsync) log: 1; buffer pool: 0
- 92 OS file reads, 2583849 OS file writes, 2423491 OS fsyncs
- 0.00 reads/s, 0 avg bytes/read, 0.04 writes/s, 0.04 fsyncs/s
- -------------------------------------
- INSERT BUFFER AND ADAPTIVE HASH INDEX
- -------------------------------------
- Ibuf: size 1, free list len 0, seg size 2,
- 0 inserts, 0 merged recs, 0 merges
- Hash table size 34679, used cells 5193, node heap has 7 buffer(s)
- 0.00 hash searches/s, 0.00 non-hash searches/s
- ---
- LOG
- ---
- Log sequence number 0 917197117
- Log flushed up to 0 917196041
- Last checkpoint at 0 917195741
- 1 pending log writes, 0 pending chkp writes
- 1789840 log i/o's done, 0.04 log i/o's/second
- ----------------------
- BUFFER POOL AND MEMORY
- ----------------------
- Total memory allocated 18326854; in additional pool allocated 1039488
- Buffer pool size 512
- Free buffers 353
- Database pages 152
- Modified db pages 4
- Pending reads 0
- Pending writes: LRU 0, flush list 0, single page 0
- Pages read 116, created 36, written 532066
- 0.00 reads/s, 0.00 creates/s, 0.00 writes/s
- Buffer pool hit rate 1000 / 1000
- --------------
- ROW OPERATIONS
- --------------
- 1 queries inside InnoDB, 0 queries in queue
- 19 read views open inside InnoDB
- Main thread process no. 8304, id 2996677520, state: flushing log
- Number of rows inserted 67316, updated 75290, deleted 0, read 1762953908
- 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 5435.60 reads/s
- ----------------------------
- END OF INNODB MONITOR OUTPUT
- ============================
- InnoDB: ###### Diagnostic info printed to the standard error stream
- Number of processes running now: 0
- 130628 21:35:03 mysqld restarted
- 130628 21:35:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130628 21:35:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- InnoDB: The log sequence number in ibdata files does not match
- InnoDB: the log sequence number in the ib_logfiles!
- 130628 21:35:06 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...
- 130628 21:35:07 InnoDB: Started; log sequence number 0 938296578
- 130628 21:35:07 [Note] /usr/libexec/mysqld: ready for connections.
- Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
- Number of processes running now: 0
- 130628 23:35:27 mysqld restarted
- 130628 23:35:32 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130628 23:35:32 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- InnoDB: The log sequence number in ibdata files does not match
- InnoDB: the log sequence number in the ib_logfiles!
- 130628 23:35:33 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...
- 130628 23:35:36 InnoDB: Started; log sequence number 0 938303752
- 130628 23:35:39 [Note] /usr/libexec/mysqld: ready for connections.
- Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
- Number of processes running now: 0
- 130629 00:27:24 mysqld restarted
- 130629 0:27:35 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 0:27:35 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 00:34:59 mysqld ended
- 130629 09:38:36 mysqld started
- 130629 9:38:37 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 9:38:37 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- InnoDB: The log sequence number in ibdata files does not match
- InnoDB: the log sequence number in the ib_logfiles!
- 130629 9:38:38 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...
- 130629 9:38:39 InnoDB: Started; log sequence number 0 938303882
- 130629 9:38:40 [Note] /usr/libexec/mysqld: ready for connections.
- Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
- Number of processes running now: 0
- 130629 12:10:54 mysqld restarted
- 130629 12:11:08 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 12:11:08 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- InnoDB: The log sequence number in ibdata files does not match
- InnoDB: the log sequence number in the ib_logfiles!
- 130629 12:11:19 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...
- 130629 12:12:25 InnoDB: Started; log sequence number 0 938327306
- 130629 12:16:09 mysqld ended
- 130629 13:24:50 mysqld started
- 130629 13:24:50 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 13:24:50 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- InnoDB: The log sequence number in ibdata files does not match
- InnoDB: the log sequence number in the ib_logfiles!
- 130629 13:24:50 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...
- 130629 13:24:51 InnoDB: Started; log sequence number 0 938327345
- 130629 13:24:51 [Note] /usr/libexec/mysqld: ready for connections.
- Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
- 130629 13:27:29 [Note] /usr/libexec/mysqld: Normal shutdown
- 130629 13:27:29 InnoDB: Starting shutdown...
- 130629 13:27:30 InnoDB: Shutdown completed; log sequence number 0 938327345
- 130629 13:27:30 [Note] /usr/libexec/mysqld: Shutdown complete
- 130629 13:27:30 mysqld ended
- 130629 13:28:54 mysqld started
- 130629 13:28:54 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 13:28:54 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
- 130629 13:28:55 InnoDB: Started; log sequence number 0 938327345
- 130629 13:28:55 [Note] /usr/libexec/mysqld: ready for connections.
- Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
复制代码 |
|