============================
|
InnoDB: ###### Diagnostic info printed to the standard error stream
|
2017-08-11 14:50:48 140259762132736 [Warning] InnoDB: A long semaphore wait:
|
--Thread 140259778918144 has waited at srv0srv.cc line 2144 for 923.00 seconds the semaphore:
|
X-lock (wait_ex) on RW-latch at 0x48f2a10 created in file dict0dict.cc line 1112
|
a writer (thread id 140259778918144) has reserved it in mode wait exclusive
|
number of readers 1, waiters flag 0, lock_word: ffffffffffffffff
|
Last time read locked in file row0ins.cc line 1469
|
Last time write locked in file srv0srv.cc line 2144
|
2017-08-11 14:50:48 140259762132736 [Note] InnoDB: A semaphore wait:
|
--Thread 140259778918144 has waited at srv0srv.cc line 2144 for 923.00 seconds the semaphore:
|
X-lock (wait_ex) on RW-latch at 0x48f2a10 created in file dict0dict.cc line 1112
|
a writer (thread id 140259778918144) has reserved it in mode wait exclusive
|
number of readers 1, waiters flag 0, lock_word: ffffffffffffffff
|
Last time read locked in file row0ins.cc line 1469
|
Last time write locked in file srv0srv.cc line 2144
|
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
|
InnoDB: Pending reads 0, writes 0
|
|
=====================================
|
2017-08-11 14:51:06 0x7f90c4cc4700 INNODB MONITOR OUTPUT
|
=====================================
|
Per second averages calculated from the last 20 seconds
|
-----------------
|
BACKGROUND THREAD
|
-----------------
|
srv_master_thread loops: 197 srv_active, 0 srv_shutdown, 3187 srv_idle
|
srv_master_thread log flush and writes: 3383
|
----------
|
SEMAPHORES
|
----------
|
OS WAIT ARRAY INFO: reservation count 73807
|
--Thread 140259787310848 has waited at buf0flu.cc line 1248 for 0.00 seconds the semaphore:
|
SX-lock on RW-latch at 0x7f90cbf04540 created in file buf0buf.cc line 1471
|
a writer (thread id 140260423001856) has reserved it in mode exclusive
|
number of readers 0, waiters flag 1, lock_word: 0
|
Last time read locked in file row0ins.cc line 1475
|
Last time write locked in file row0upd.cc line 3077
|
--Thread 140259778918144 has waited at srv0srv.cc line 2144 for 941.00 seconds the semaphore:
|
X-lock (wait_ex) on RW-latch at 0x48f2a10 created in file dict0dict.cc line 1112
|
a writer (thread id 140259778918144) has reserved it in mode wait exclusive
|
number of readers 1, waiters flag 0, lock_word: ffffffffffffffff
|
Last time read locked in file row0ins.cc line 1469
|
Last time write locked in file srv0srv.cc line 2144
|
OS WAIT ARRAY INFO: signal count 172129
|
RW-shared spins 0, rounds 150450, OS waits 12867
|
RW-excl spins 0, rounds 777537, OS waits 10007
|
RW-sx spins 97496, rounds 1930979, OS waits 45357
|
Spin rounds per wait: 150450.00 RW-shared, 777537.00 RW-excl, 19.81 RW-sx
|
------------
|
TRANSACTIONS
|
------------
|
Trx id counter 8856
|
Purge done for trx's n:o < 8854 undo n:o < 0 state: running but idle
|
History list length 12
|
LIST OF TRANSACTIONS FOR EACH SESSION:
|
---TRANSACTION 421735400322840, not started
|
0 lock struct(s), heap size 1136, 0 row lock(s)
|
---TRANSACTION 8855, ACTIVE 995 sec updating or deleting
|
mysql tables in use 3, locked 3
|
27689 lock struct(s), heap size 3317968, 1563936 row lock(s), undo log entries 264206
|
MySQL thread id 9, OS thread handle 0x7f90ecb06700, query id 620 localhost root updating
|
DELETE FROM BRc273a13dfda91b1add89
|
--------
|
FILE I/O
|
--------
|
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
|
I/O thread 1 state: waiting for completed aio requests (log thread)
|
I/O thread 2 state: waiting for completed aio requests (read thread)
|
I/O thread 3 state: waiting for completed aio requests (read thread)
|
I/O thread 4 state: waiting for completed aio requests (read thread)
|
I/O thread 5 state: waiting for completed aio requests (read thread)
|
I/O thread 6 state: waiting for completed aio requests (write thread)
|
I/O thread 7 state: waiting for completed aio requests (write thread)
|
I/O thread 8 state: waiting for completed aio requests (write thread)
|
I/O thread 9 state: waiting for completed aio requests (write thread)
|
Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] ,
|
ibuf aio reads:, log i/o's:, sync i/o's:
|
Pending flushes (fsync) log: 0; buffer pool: 0
|
20376 OS file reads, 68064 OS file writes, 15463 OS fsyncs
|
0.00 reads/s, 0 avg bytes/read, 13.20 writes/s, 7.65 fsyncs/s
|
-------------------------------------
|
INSERT BUFFER AND ADAPTIVE HASH INDEX
|
-------------------------------------
|
Ibuf: size 1, free list len 546, seg size 548, 723 merges
|
merged operations:
|
insert 0, delete mark 176754, delete 0
|
discarded operations:
|
insert 0, delete mark 0, delete 0
|
Hash table size 34679, node heap has 4 buffer(s)
|
Hash table size 34679, node heap has 4 buffer(s)
|
Hash table size 34679, node heap has 9 buffer(s)
|
Hash table size 34679, node heap has 1 buffer(s)
|
Hash table size 34679, node heap has 1 buffer(s)
|
Hash table size 34679, node heap has 1 buffer(s)
|
Hash table size 34679, node heap has 208 buffer(s)
|
Hash table size 34679, node heap has 3 buffer(s)
|
0.00 hash searches/s, 0.00 non-hash searches/s
|
---
|
LOG
|
---
|
Log sequence number 4418308559
|
Log flushed up to 4418298159
|
Pages flushed up to 4418284524
|
Last checkpoint at 4384550662
|
0 pending log flushes, 0 pending chkp writes
|
5927 log i/o's done, 2.90 log i/o's/second
|
----------------------
|
BUFFER POOL AND MEMORY
|
----------------------
|
Total large memory allocated 137560064
|
Dictionary memory allocated 118116
|
Buffer pool size 8192
|
Free buffers 0
|
Database pages 7759
|
Old database pages 2844
|
Modified db pages 2
|
Percent of dirty pages(LRU & free pages): 0.026
|
Max dirty pages percent: 75.000
|
Pending reads 0
|
Pending writes: LRU 0, flush list 2, single page 0
|
Pages made young 27108, not young 3400054
|
2.80 youngs/s, 0.00 non-youngs/s
|
Pages read 20338, created 24551, written 58406
|
0.00 reads/s, 1.85 creates/s, 8.45 writes/s
|
Buffer pool hit rate 1000 / 1000, young-making rate 4 / 1000 not 0 / 1000
|
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
|
LRU len: 7759, unzip_LRU len: 0
|
I/O sum[6879]:cur[151], unzip sum[0]:cur[0]
|
--------------
|
ROW OPERATIONS
|
--------------
|
0 queries inside InnoDB, 0 queries in queue
|
0 read views open inside InnoDB
|
Process ID=8894, Main thread ID=140259778918144, state: enforcing dict cache limit
|
Number of rows inserted 1678464, updated 0, deleted 988977, read 4
|
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
|
Number of system rows inserted 0, updated 0, deleted 0, read 0
|
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
|
----------------------------
|
END OF INNODB MONITOR OUTPUT
|
============================
|
InnoDB: ###### Diagnostic info printed to the standard error stream
|
2017-08-11 14:51:18 140259762132736 [ERROR] [FATAL] InnoDB: Semaphore wait has lasted > 600 seconds. We intentionally crash the server because it appears to be hung.
|
170811 14:51:18 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.2.7-MariaDB
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=153
|
thread_count=7
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467207 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x0 thread_stack 0x49000
|
/10.2.7/bin/mysqld(my_print_stacktrace+0x2e)[0xddc02e]
|
/10.2.7/bin/mysqld(handle_fatal_signal+0x444)[0x7d5984]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f90f1b2f390]
|
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f90f08b8428]
|
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f90f08ba02a]
|
/10.2.7/bin/mysqld[0xba63e9]
|
/10.2.7/bin/mysqld[0xb4f1b0]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f90f1b256ba]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f90f098a3dd]
|
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
|
information that should help you find out what is causing the crash.
|
Thanks for the report!
Reproducible on versions >=10.2.2
error log (10.2.7):
============================
InnoDB: ###### Diagnostic info printed to the standard error stream
2017-08-11 14:50:48 140259762132736 [Warning] InnoDB: A long semaphore wait:
--Thread 140259778918144 has waited at srv0srv.cc line 2144 for 923.00 seconds the semaphore:
X-lock (wait_ex) on RW-latch at 0x48f2a10 created in file dict0dict.cc line 1112
a writer (thread id 140259778918144) has reserved it in mode wait exclusive
number of readers 1, waiters flag 0, lock_word: ffffffffffffffff
Last time read locked in file row0ins.cc line 1469
Last time write locked in file srv0srv.cc line 2144
2017-08-11 14:50:48 140259762132736 [Note] InnoDB: A semaphore wait:
--Thread 140259778918144 has waited at srv0srv.cc line 2144 for 923.00 seconds the semaphore:
X-lock (wait_ex) on RW-latch at 0x48f2a10 created in file dict0dict.cc line 1112
a writer (thread id 140259778918144) has reserved it in mode wait exclusive
number of readers 1, waiters flag 0, lock_word: ffffffffffffffff
Last time read locked in file row0ins.cc line 1469
Last time write locked in file srv0srv.cc line 2144
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: Pending reads 0, writes 0
=====================================
2017-08-11 14:51:06 0x7f90c4cc4700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 20 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 197 srv_active, 0 srv_shutdown, 3187 srv_idle
srv_master_thread log flush and writes: 3383
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 73807
--Thread 140259787310848 has waited at buf0flu.cc line 1248 for 0.00 seconds the semaphore:
SX-lock on RW-latch at 0x7f90cbf04540 created in file buf0buf.cc line 1471
a writer (thread id 140260423001856) has reserved it in mode exclusive
number of readers 0, waiters flag 1, lock_word: 0
Last time read locked in file row0ins.cc line 1475
Last time write locked in file row0upd.cc line 3077
--Thread 140259778918144 has waited at srv0srv.cc line 2144 for 941.00 seconds the semaphore:
X-lock (wait_ex) on RW-latch at 0x48f2a10 created in file dict0dict.cc line 1112
a writer (thread id 140259778918144) has reserved it in mode wait exclusive
number of readers 1, waiters flag 0, lock_word: ffffffffffffffff
Last time read locked in file row0ins.cc line 1469
Last time write locked in file srv0srv.cc line 2144
OS WAIT ARRAY INFO: signal count 172129
RW-shared spins 0, rounds 150450, OS waits 12867
RW-excl spins 0, rounds 777537, OS waits 10007
RW-sx spins 97496, rounds 1930979, OS waits 45357
Spin rounds per wait: 150450.00 RW-shared, 777537.00 RW-excl, 19.81 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 8856
Purge done for trx's n:o < 8854 undo n:o < 0 state: running but idle
History list length 12
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421735400322840, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 8855, ACTIVE 995 sec updating or deleting
mysql tables in use 3, locked 3
27689 lock struct(s), heap size 3317968, 1563936 row lock(s), undo log entries 264206
MySQL thread id 9, OS thread handle 0x7f90ecb06700, query id 620 localhost root updating
DELETE FROM BRc273a13dfda91b1add89
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (write thread)
Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] ,
ibuf aio reads:, log i/o's:, sync i/o's:
Pending flushes (fsync) log: 0; buffer pool: 0
20376 OS file reads, 68064 OS file writes, 15463 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 13.20 writes/s, 7.65 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 546, seg size 548, 723 merges
merged operations:
insert 0, delete mark 176754, delete 0
discarded operations:
insert 0, delete mark 0, delete 0
Hash table size 34679, node heap has 4 buffer(s)
Hash table size 34679, node heap has 4 buffer(s)
Hash table size 34679, node heap has 9 buffer(s)
Hash table size 34679, node heap has 1 buffer(s)
Hash table size 34679, node heap has 1 buffer(s)
Hash table size 34679, node heap has 1 buffer(s)
Hash table size 34679, node heap has 208 buffer(s)
Hash table size 34679, node heap has 3 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 4418308559
Log flushed up to 4418298159
Pages flushed up to 4418284524
Last checkpoint at 4384550662
0 pending log flushes, 0 pending chkp writes
5927 log i/o's done, 2.90 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 137560064
Dictionary memory allocated 118116
Buffer pool size 8192
Free buffers 0
Database pages 7759
Old database pages 2844
Modified db pages 2
Percent of dirty pages(LRU & free pages): 0.026
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 2, single page 0
Pages made young 27108, not young 3400054
2.80 youngs/s, 0.00 non-youngs/s
Pages read 20338, created 24551, written 58406
0.00 reads/s, 1.85 creates/s, 8.45 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 4 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 7759, unzip_LRU len: 0
I/O sum[6879]:cur[151], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=8894, Main thread ID=140259778918144, state: enforcing dict cache limit
Number of rows inserted 1678464, updated 0, deleted 988977, read 4
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 0
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
InnoDB: ###### Diagnostic info printed to the standard error stream
2017-08-11 14:51:18 140259762132736 [ERROR] [FATAL] InnoDB: Semaphore wait has lasted > 600 seconds. We intentionally crash the server because it appears to be hung.
170811 14:51:18 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.2.7-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=1
max_threads=153
thread_count=7
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467207 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x49000
/10.2.7/bin/mysqld(my_print_stacktrace+0x2e)[0xddc02e]
/10.2.7/bin/mysqld(handle_fatal_signal+0x444)[0x7d5984]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f90f1b2f390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f90f08b8428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f90f08ba02a]
/10.2.7/bin/mysqld[0xba63e9]
/10.2.7/bin/mysqld[0xb4f1b0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f90f1b256ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f90f098a3dd]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.