Home > database >  The massive unauthenticated system may be copied thread lock user
The massive unauthenticated system may be copied thread lock user

Time:10-06

I describe the whole process:
Start the alarm is master-slave latency, look from the library on the next
Mysql> Show slave status \ G
* * * * * * * * * * * * * * * * * * * * * * * * * * * 1 row * * * * * * * * * * * * * * * * * * * * * * * * * * *
Slave_IO_State: Waiting for the master to send event
Master_Host: 192.168.0.18
Master_User: qc_repl
Master_Port: 3306

60 Connect_Retry:Master_Log_File: mysql - bin. 000039
Read_Master_Log_Pos: 460090672
Relay_Log_File: mysql - relay - bin. 000002
Relay_Log_Pos: 444770992
Relay_Master_Log_File: mysql - bin. 000039
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 444770902
Relay_Log_Space: 460090966
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 671
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 71008354
E7 e547b24 Master_UUID: 3-135 - d - 11-9676-525411 d50ff7
Master_Info_File:/data/mysql/master info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: System lock
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
E547b24 Retrieved_Gtid_Set: 3-135 - d - 11 d50ff7 e7-9676-525411:36407029-37060714
E7 e547b24 Executed_Gtid_Set: 3-135 - d - 11-9676-525411 d50ff7:1-37031363,
E5 d4c68f4e f18a - 11-9127-0 cc47ab72b72:1-30282323,
E5 d5628a48 f18a - 11 - aea6-0 cc47ab727cf: 1-5194
The Auto_Position: 1
1 row in the set (0.00 SEC)



Processlists nothing abnormal
Mysql> Show the processlist.
+ -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- - + + -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
| | Id User | Host | db | Command | Time | State | Info |
+ -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- - + + -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
| | system user 147 | | 54015 | | NULL | Connect Waiting for the master to send event | NULL |
| | system user 148 | | 708 | | NULL | Connect system lock | NULL |
47232 | | 65675 | kanban | 192.168.0.31: zkyq | Sleep 32 | | | NULL |
47312 | | 71602 | kanban | 192.168.0.31: VMS | Sleep 20 | | | NULL |
47322 | | 72255 | kanban | 192.168.0.31: VMS | Sleep | 753 | | NULL |
47323 | | 72256 | kanban | 192.168.0.31: VMS | Sleep | 753 | | NULL |
37618 | | 76261 | root | 192.168.55.16: NULL | Query | | 0 init | show the processlist |
+ -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- - + + -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +


There was a row but INNODB_TRX list at that time was fast name points the


Mysql> SELECT * FROM information_schema. INNODB_TRX \ G;
* * * * * * * * * * * * * * * * * * * * * * * * * * * 1 row * * * * * * * * * * * * * * * * * * * * * * * * * * *
Trx_id: 147178299
Trx_state: RUNNING
14:38:21 trx_started: 2017-08-09
Trx_requested_lock_id: NULL
Trx_wait_started: NULL
Trx_weight: 1
Trx_mysql_thread_id: 148
Trx_query: NULL
Trx_operation_state: inserting
Trx_tables_in_use: 1
Trx_tables_locked: 1
Trx_lock_structs: 1
Trx_lock_memory_bytes: 360
Trx_rows_locked: 0
Trx_rows_modified: 0
Trx_concurrency_tickets: 0
Trx_isolation_level: REPEATABLE READ
Trx_unique_checks: 1
Trx_foreign_key_checks: 1
Trx_last_foreign_key_error: NULL
Trx_adaptive_hash_latched: 0
Trx_adaptive_hash_timeout: 10000
Trx_is_read_only: 0
Trx_autocommit_non_locking: 0
1 row in the set (0.01 SEC)


Then is suddenly appeared a lot of not verify connection
Show processlists

Mysql> Show the processlist.
+ -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + + -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
| | Id User | Host | db | Command | Time | State | Info |
+ -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + + -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related