WebRTC browser peerconnection depends on who creates an offer - google-chrome

Two Chrome browsers: Alice (A), Bob (B).
Different networks, so i'm using Coturn server (my own).
The problem is that when A creates an offer - everything is ok, ice connection state goes to "connected", everything works fine. But if B creates offer - every peer receives the same Ice candidates, but ice connection state after 10 sec "checking" goes to "disconnected". It depends on in what network is B. Only on some networks there is such problem.
Here are the details:
Not working case:
B creates an offer. His descriptor is:
v=0
o=- 8029235411980231901 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE
m=audio 9 UDP\/TLS\/RTP\/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:L8TQ
a=ice-pwd:sQx1uSKfnmvUAsXBrzRlLJzw
a=ice-options:trickle
a=fingerprint:sha-256 25:12:9F:F2:50:A7:68:F0:73:C9:E7:87:C5:44:CD:CE:7E:14:12:3D:BF:E0:52:2F:3B:5C:7E:1B:29:35:DF:77
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/abs-send-time
a=extmap:3 http:\/\/www.ietf.org\/id\/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE 4f8d8244-9ed8-4128-b4bd-3cdaaeb31ef3
a=rtcp-mux
a=rtpmap:111 opus\/48000\/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC\/16000
a=rtpmap:104 ISAC\/32000
a=rtpmap:9 G722\/8000
a=rtpmap:0 PCMU\/8000
a=rtpmap:8 PCMA\/8000
a=rtpmap:106 CN\/32000
a=rtpmap:105 CN\/16000
a=rtpmap:13 CN\/8000
a=rtpmap:110 telephone-event\/48000
a=rtpmap:112 telephone-event\/32000
a=rtpmap:113 telephone-event\/16000
a=rtpmap:126 telephone-event\/8000
a=ssrc:2775790640 cname:yRYToPhoe5nm5Lkn
a=ssrc:2775790640 msid:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE 4f8d8244-9ed8-4128-b4bd-3cdaaeb31ef3
a=ssrc:2775790640 mslabel:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE
a=ssrc:2775790640 label:4f8d8244-9ed8-4128-b4bd-3cdaaeb31ef3
m=video 9 UDP\/TLS\/RTP\/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 124 119 123
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:L8TQ
a=ice-pwd:sQx1uSKfnmvUAsXBrzRlLJzw
a=ice-options:trickle
a=fingerprint:sha-256 25:12:9F:F2:50:A7:68:F0:73:C9:E7:87:C5:44:CD:CE:7E:14:12:3D:BF:E0:52:2F:3B:5C:7E:1B:29:35:DF:77
c
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http:\/\/www.ietf.org\/id\/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/playout-delay
a=extmap:11 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/video-content-type
a=extmap:7 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/video-timing
a=extmap:8 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE 65e0c0d9-234e-41ec-ba90-0bde346b97f7
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8\/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx\/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9\/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx\/90000
a=fmtp:99 apt=98
a=rtpmap:100 VP9\/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 profile-id=2
a=rtpmap:101 rtx\/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264\/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:121 rtx\/90000
a=fmtp:121 apt=102
a=rtpmap:127 H264\/90000
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:120 rtx\/90000
a=fmtp:120 apt=127
a=rtpmap:125 H264\/90000
a=rtcp-fb:125 goog-remb
a=rtcp-fb:125 transport-cc
a=rtcp-fb:125 ccm fir
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f
a=rtpmap:107 rtx\/90000
a=fmtp:107 apt=125
a=rtpmap:108 H264\/90000
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f
a=rtpmap:109 rtx\/90000
a=fmtp:109 apt=108
a=rtpmap:124 red\/90000
a=rtpmap:119 rtx\/90000
a=fmtp:119 apt=124
a=rtpmap:123 ulpfec\/90000
a=ssrc-group:FID 2392484040 323248106
a=ssrc:2392484040 cname:yRYToPhoe5nm5Lkn
a=ssrc:2392484040 msid:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE 65e0c0d9-234e-41ec-ba90-0bde346b97f7
a=ssrc:2392484040 mslabel:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE
a=ssrc:2392484040 label:65e0c0d9-234e-41ec-ba90-0bde346b97f7
a=ssrc:323248106 cname:yRYToPhoe5nm5Lkn
a=ssrc:323248106 msid:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE 65e0c0d9-234e-41ec-ba90-0bde346b97f7
a=ssrc:323248106 mslabel:ZX5bxsJkF64NCyKHSLQyIbHoU0nLjkjehVPE
a=ssrc:323248106 label:65e0c0d9-234e-41ec-ba90-0bde346b97f7
Ice candidtates that receives B from A and adds to his peerconnection:
candidate:3596738868 1 udp 2122260223 192.168.1.16 60011 typ host generation 0 ufrag UxdQ network-id 1
candidate:544315616 1 udp 1686052607 {A ip here} 60011 typ srflx raddr 192.168.1.16 rport 60011 generation 0 ufrag UxdQ network-id 1
candidate:2564955588 1 tcp 1518280447 192.168.1.16 9 typ host tcptype active generation 0 ufrag UxdQ network-id 1
Ice candidates that receives A from B and adds to his peerconnection:
candidate:211156821 1 udp 2122260223 192.168.1.5 57710 typ host generation 0 ufrag L8TQ network-id 1 network-cost 10
candidate:211156821 1 udp 2122260223 192.168.1.5 57711 typ host generation 0 ufrag L8TQ network-id 1 network-cost 10
candidate:2781507712 1 udp 1686052607 {B ip here} 8101 typ srflx raddr 192.168.1.5 rport 57710 generation 0 ufrag L8TQ network-id 1 network-cost 10
candidate:2781507712 1 udp 1686052607 {B ip here} 8102 typ srflx raddr 192.168.1.5 rport 57711 generation 0 ufrag L8TQ network-id 1 network-cost 10
candidate:1108738981 1 tcp 1518280447 192.168.1.5 9 typ host tcptype active generation 0 ufrag L8TQ network-id 1 network-cost 10
candidate:1108738981 1 tcp 1518280447 192.168.1.5 9 typ host tcptype active generation 0 ufrag L8TQ network-id 1 network-cost 10
After that both peerconnections go to "checking" state (I mean ice connection state). After ~15 sec they go to "disconnected"
Working case:
Sometimes peers are connected even when B creates an offer, but quite rarely. So, here are 2 cases - when B creates an offer, and when A.
I will not paste SDP here, cause it is always the same (differs with a=setup:actpass|active).
B creates an offer (but now working!):
Ice candidtates that receives B from A and adds to his peerconnection:
candidate:3596738868 1 udp 2122260223 192.168.1.16 58234 typ host generation 0 ufrag kplj network-id 1
candidate:544315616 1 udp 1686052607 {A ip here} 58234 typ srflx raddr 192.168.1.16 rport 58234 generation 0 ufrag kplj network-id 1
candidate:2564955588 1 tcp 1518280447 192.168.1.16 9 typ host tcptype active generation 0 ufrag kplj network-id 1
Ice candidates that receives A from B and adds to his peerconnection:
candidate:211156821 1 udp 2122260223 192.168.1.5 55597 typ host generation 0 ufrag THyF network-id 1 network-cost 10
candidate:211156821 1 udp 2122260223 192.168.1.5 55598 typ host generation 0 ufrag THyF network-id 1 network-cost 10
candidate:2781507712 1 udp 1686052607 {B ip here} 10637 typ srflx raddr 192.168.1.5 rport 55597 generation 0 ufrag THyF network-id 1 network-cost 10
candidate:2781507712 1 udp 1686052607 {B ip here} 10646 typ srflx raddr 192.168.1.5 rport 55598 generation 0 ufrag THyF network-id 1 network-cost 10
candidate:1108738981 1 tcp 1518280447 192.168.1.5 9 typ host tcptype active generation 0 ufrag THyF network-id 1 network-cost 10
candidate:1108738981 1 tcp 1518280447 192.168.1.5 9 typ host tcptype active generation 0 ufrag THyF network-id 1 network-cost 10
A creates an offer (works always):
Ice candidtates that receives B from A and adds to his peerconnection:
candidate:3596738868 1 udp 2122260223 192.168.1.16 60034 typ host generation 0 ufrag WGEW network-id 1
candidate:3596738868 1 udp 2122260223 192.168.1.16 60035 typ host generation 0 ufrag WGEW network-id 1
candidate:544315616 1 udp 1686052607 {A ip here} 60034 typ srflx raddr 192.168.1.16 rport 60034 generation 0 ufrag WGEW network-id 1
candidate:544315616 1 udp 1686052607 {A ip here} 60035 typ srflx raddr 192.168.1.16 rport 60035 generation 0 ufrag WGEW network-id 1
candidate:2564955588 1 tcp 1518280447 192.168.1.16 9 typ host tcptype active generation 0 ufrag WGEW network-id 1
candidate:2564955588 1 tcp 1518280447 192.168.1.16 9 typ host tcptype active generation 0 ufrag WGEW network-id 1
Ice candidtates that receives A from B and adds to his peerconnection:
candidate:211156821 1 udp 2122260223 192.168.1.5 49288 typ host generation 0 ufrag QIgM network-id 1 network-cost 10
candidate:2781507712 1 udp 1686052607 {B ip here} 13932 typ srflx raddr 192.168.1.5 rport 49288 generation 0 ufrag QIgM network-id 1 network-cost 10
candidate:1108738981 1 tcp 1518280447 192.168.1.5 9 typ host tcptype active generation 0 ufrag QIgM network-id 1 network-cost 10
So, the olny difference is with srflx port - maybe when it is below 10000, it blocks UDP packets? But what can we do with this - we do not control these ports, and the process of ICE discovery by Coturn.
The second - maybe some problems with async proccesses on client side (it is less lickely, but still) - but why only in some networks?

You are not getting any candidates with typ relay which means you are only using your TURN server as a STUN server. There are a couple of NATs where that can lead to a failure to establish the connection depending on who offers. There is an open bug in chrome's webrtc implementation for a couple of years now here
A working TURN server avoids the problem.

Related

MariaDB 10.3 Replication doesn't work -> Exec_Master_Log_Pos does not change

I configured a replication cluster with MariaDB 10.3. I can connect from my slave to my master and all write statements from my master is automatically copied to my relay-bin files on my slaves. But then the queries in my relay bin file are not executed on my databases. Furthermore the Exec_Master_Log_Pos does not change meanwhile the Read_Master_Log_Pos does.
I cannot stop the slave because if i do the process hangs and i have to kill it. the Seconds Behind Master grows...
here are my show slave status on my slave server:
MariaDB [(none)]> show slave status \G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: mymaster.test.net
Master_User: repadmin
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000001
Read_Master_Log_Pos: 498
Relay_Log_File: slave-relay-bin.000002
Relay_Log_Pos: 555
Relay_Master_Log_File: mysql-bin.000001
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: 328
Relay_Log_Space: 1038
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: 52
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: 1
Master_SSL_Crl:
Master_SSL_Crlpath:
Using_Gtid: No
Gtid_IO_Pos:
Replicate_Do_Domain_Ids:
Replicate_Ignore_Domain_Ids:
Parallel_Mode: conservative
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Update
Slave_DDL_Groups: 0
Slave_Non_Transactional_Groups: 0
Slave_Transactional_Groups: 1
1 row in set (0.000 sec)
show processlist:
10 | system user | | NULL | Slave_IO | 1766 | Waiting for master to send event | NULL | 0.000 |
| 11 | system user | | testdb | Slave_SQL | 183 | Update | insert into test values (10) | 0.000 |
It seems that the update process always hangs.
As i said before the queries are copied to my slaves relays-logs but not executed on my database.

MySQL replication fails when it replicate from a slave database server

I have a master MySQL server A with the bin log file bin.000008. And a slave server B with its bin log file bin.000012.
The replication from A to B works well.
Every time I changes the data to server A, the server B will replicate it correctly.
There's a new MySQL server C. I make it to be as a slave to server B.
The problem is:
When I modify the data on server A, server B replicates it correctly. But server C does not be changed. Which means that the replication is invalid from server B to server C.
I tried to restart the slave on server C. And it says Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'
Here are the master and slave status of each server:
Server C (slave of Server B):
db> show slave status\G;
|[
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: luexu.com
Master_User: Aario
Master_Port: 1579
Connect_Retry: 60
Master_Log_File: bin.000012
Read_Master_Log_Pos: 194
Relay_Log_File: cf3613332a61-relay-bin.000004
Relay_Log_Pos: 355
Relay_Master_Log_File: bin.000012
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB: mysql,information_schema,performance_schema,sys
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: 194
Relay_Log_Space: 569
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: 0
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: 65535
Master_UUID: dd7aa123-ca18-11e7-9411-0242ac110005
Master_Info_File: /master.info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set: c389aee6-ca16-11e7-81e3-0242ac110004:1-79,
dd7aa123-ca18-11e7-9411-0242ac110005:1-13
Auto_Position: 1
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
1 row in set (0.00 sec)
]|
Server B (slave of Server A, master of Server C):
db> show variables like '%slave%';
+------------------------------+-----------------------+
| Variable_name | Value |
+------------------------------+-----------------------+
| init_slave | |
| log_slave_updates | ON |
| log_slow_slave_statements | OFF |
| pseudo_slave_mode | OFF |
| rpl_stop_slave_timeout | 31536000 |
| slave_allow_batching | OFF |
| slave_checkpoint_group | 512 |
| slave_checkpoint_period | 300 |
| slave_compressed_protocol | OFF |
| slave_exec_mode | STRICT |
| slave_load_tmpdir | /tmp |
| slave_max_allowed_packet | 1073741824 |
| slave_net_timeout | 60 |
| slave_parallel_type | DATABASE |
| slave_parallel_workers | 0 |
| slave_pending_jobs_size_max | 16777216 |
| slave_preserve_commit_order | OFF |
| slave_rows_search_algorithms | TABLE_SCAN,INDEX_SCAN |
| slave_skip_errors | OFF |
| slave_sql_verify_checksum | ON |
| slave_transaction_retries | 10 |
| slave_type_conversions | |
| sql_slave_skip_counter | 0 |
+------------------------------+-----------------------+
db> show master status\G;
|[
*************************** 1. row ***************************
File: bin.000012
Position: 194
Binlog_Do_DB:
Binlog_Ignore_DB: mysql,sys,information_schema,performance_schema
Executed_Gtid_Set: c389aee6-ca16-11e7-81e3-0242ac110004:1-81,
dd7aa123-ca18-11e7-9411-0242ac110005:1-13
1 row in set (0.00 sec)
]|
db> show slave status\G;
|[
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: luexu.com
Master_User: Aario
Master_Port: 5961
Connect_Retry: 60
Master_Log_File: bin.000008
Read_Master_Log_Pos: 27885
Relay_Log_File: 217fcc5843c2-relay-bin.000005
Relay_Log_Pos: 27684
Relay_Master_Log_File: bin.000008
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB: mysql,sys,information_schema,performance_schema
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: 27885
Relay_Log_Space: 27938
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: 0
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: 1
Master_UUID: c389aee6-ca16-11e7-81e3-0242ac110004
Master_Info_File: /master.info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set: c389aee6-ca16-11e7-81e3-0242ac110004:48-81
Executed_Gtid_Set: c389aee6-ca16-11e7-81e3-0242ac110004:1-81,
dd7aa123-ca18-11e7-9411-0242ac110005:1-13
Auto_Position: 1
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
1 row in set (0.00 sec)
]|
Server A (master of Server B):
db> show master status\G;
|[
*************************** 1. row ***************************
File: bin.000008
Position: 27885
Binlog_Do_DB:
Binlog_Ignore_DB: mysql,sys,information_schema,performance_schema
Executed_Gtid_Set: c389aee6-ca16-11e7-81e3-0242ac110004:1-81
1 row in set (0.00 sec)
]|
Restart the slave on Server C:
db> stop slave;
db> start slave;
db> show slave status\G;
|[
*************************** 1. row ***************************
Slave_IO_State:
Master_Host: luexu.com
Master_User: Aario
Master_Port: 3306
Connect_Retry: 60
Master_Log_File:
Read_Master_Log_Pos: 4
Relay_Log_File: cf3613332a61-relay-bin.000001
Relay_Log_Pos: 4
Relay_Master_Log_File:
Slave_IO_Running: No
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB: mysql,information_schema,performance_schema,sys
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: 0
Relay_Log_Space: 308
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: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 1236
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 65535
Master_UUID: dd7aa123-ca18-11e7-9411-0242ac110005
Master_Info_File: /master.info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp: 171210 04:01:51
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set: 074c1f93-dd08-11e7-b173-0242ac110004:1-3
Auto_Position: 1
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
]|
I am not sure about your problem therefore just some thoughts - maybe you will find some inspiration in them:
Do you have some really important reason for setting chain replication A->B->C? If not avoid this complexity and just make C replica of A (you can do it by simple cloning of already working B replica - see here: http://mysql.freeideas.cz/subdom/mysql/2017/08/14/create-new-replica-by-copying-data-and-log-files-on-os-level/
If you really must chain your replication then it generally works OK, we use it for making bigger changes in architecture without downtimes for a long time already and it works even between different MySQL versions.
We used it for the first time when we needed to move from one cloud provider to another - we used (A) old master on old cloud -> (B) new intended master on new cloud -> (C) replicas on new cloud for apps. And currently we set it for new app development with new version of MySQL - (A) old 5.5 Master -> (B) 5.7 replica/master -> (C) 5.7 replicas for app.
You just need to set "log_slave_updates=ON" on "master replica" and create your C replica(s) the same way from B as you created B from A - see general notes here: http://mysql.freeideas.cz/subdom/mysql/2016/11/10/how-to-manually-set-mysql-replication/
Meaning - you have to make dump for C on your B with replication stopped and tables locked against changes and note master status of B and use it to set C. Of course - you have to ensure bin logs on B will live "long enough" - set "expire_logs_days" on B to several days (of course you have to have enough disk space for it). All these changes in setting require restart.

Error 522 with Cloudflare

Hello I have always error 522 with Cloudflare and SSL
I use 2 url the first is via Cloudflare with full ssl https://example.com and second is with my ip and without Cloudflare http://XXX.XXX. If i start benchmaking mysql with AB command (or with simple ajax request) the siteweb with Cloudflare down imediatly with error 522 but the website with my IP never down and continue to work faster
I have a free plan in Cloudflare with a auto signed SSL certificat in my server with openssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/s1.key -out /etc/apache2/ssl/s1.crt
I changed my.cnf for limit max_user_connections to 20 but not working i dont have error in apache and syslog
My server is a debian 7 3 cores 4gb in OVH
top
top - 07:26:58 up 15:25, 2 users, load average: 2.23, 2.28, 2.18
Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie
%Cpu(s): 8.1 us, 1.2 sy, 0.0 ni, 88.7 id, 2.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 4194304 total, 354532 used, 3839772 free, 0 buffers
KiB Swap: 131072 total, 0 used, 131072 free, 159668 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11715 mysql 20 0 585m 100m 7824 S 28.1 2.5 117:17.15 mysqld
14469 www-data 20 0 222m 12m 4312 R 2.9 0.3 0:20.86 apache2
14567 www-data 20 0 222m 11m 3604 S 2.0 0.3 0:12.89 apache2
14579 www-data 20 0 221m 11m 3612 S 2.0 0.3 0:07.69 apache2
2599 root 20 0 24364 2208 1296 S 1.0 0.1 10:53.41 htop
5317 root 20 0 24292 2184 1296 S 0.7 0.1 10:41.42 htop
14577 www-data 20 0 221m 10m 3400 S 0.7 0.3 0:08.94 apache2
1 root 20 0 10604 796 664 S 0.0 0.0 0:15.10 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/46179
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/46179
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/0
5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/1
6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/2
7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/3
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/4
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/5
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/6
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/46179/7
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsiod/46179
1533 root 20 0 30764 488 244 S 0.0 0.0 0:00.00 syslog-ng
1534 root 20 0 88480 3572 2480 S 0.0 0.1 0:02.10 syslog-ng
1658 messageb 20 0 29760 556 296 S 0.0 0.0 0:00.00 dbus-daemon
1676 bind 20 0 202m 22m 2324 S 0.0 0.5 0:02.13 named
1682 root 20 0 49888 1236 628 S 0.0 0.0 0:00.37 sshd
1717 root 20 0 72552 2132 524 S 0.0 0.1 0:19.69 sendmail-mta
2295 root 20 0 20844 1024 776 S 0.0 0.0 0:02.76 cron
2398 proftpd 20 0 99.7m 1944 500 S 0.0 0.0 0:09.15 proftpd
2422 root 20 0 52324 1672 1152 S 0.0 0.0 0:00.02 login
2423 root 20 0 14532 836 676 S 0.0 0.0 0:00.00 getty
2424 root 20 0 14532 832 676 S 0.0 0.0 0:00.00 getty
2425 root 20 0 14532 828 676 S 0.0 0.0 0:00.00 getty
2426 root 20 0 14532 832 676 S 0.0 0.0 0:00.00 getty
2427 root 20 0 14532 832 676 S 0.0 0.0 0:00.00 getty
2506 root 20 0 24368 1964 776 S 0.0 0.0 0:46.24 screen
2507 root 20 0 19944 2272 1672 S 0.0 0.1 0:02.25 bash
2508 root 20 0 19916 2176 1604 S 0.0 0.1 0:00.02 bash
5316 root 20 0 19916 2176 1604 S 0.0 0.1 0:00.00 bash
9522 root 20 0 220m 10m 4436 S 0.0 0.3 0:36.96 apache2
10166 root 20 0 19924 2216 1636 S 0.0 0.1 0:00.00 bash
A 522 error generally indicates something blocking requests from our IPs on your server or hosting provider.
Additional troubleshooting tips for a 522 error and CloudFlare.

pureftpd-mysql don't start

I followed this tutorial to install pureftpd-mysql but I can't login with the example user or any other user.
here the output from netstat -tnlp
[05:48 PM]-[vagrant#local]-[~]
$ sudo netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.56.101:28521 0.0.0.0:* LISTEN 26211/pure-ftpd (ID
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2808/mysqld
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 2252/redis-server 1
tcp 0 0 192.168.56.101:34286 0.0.0.0:* LISTEN 26133/pure-ftpd (ID
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1641/rpcbind
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 15396/pure-ftpd (SE
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 5448/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3522/exim4
tcp 0 0 0.0.0.0:46239 0.0.0.0:* LISTEN 1672/rpc.statd
tcp6 0 0 :::34221 :::* LISTEN 1672/rpc.statd
tcp6 0 0 :::111 :::* LISTEN 1641/rpcbind
tcp6 0 0 :::21 :::* LISTEN 15396/pure-ftpd (SE
tcp6 0 0 :::22 :::* LISTEN 5448/sshd
tcp6 0 0 ::1:25 :::* LISTEN 3522/exim4
Here is my /etc/pure-ftpd/db/mysql.conf
$ cat /etc/pure-ftpd/db/mysql.conf
# MYSQLServer 127.0.0.1
# MYSQLPort 3306
MYSQLSocket /var/run/mysqld/mysqld.sock
MYSQLUser root
MYSQLPassword 123
MYSQLDatabase pureftpd
# You can also use "any", "cleartext", "crypt", "sha1", "md5" or "password"
MYSQLCrypt sha1
MYSQLGetPW SELECT Password FROM users WHERE User='\L'
MYSQLGetUID SELECT Uid FROM users WHERE User='\L'
#MYSQLDefaultUID 1000
MYSQLGetGID SELECT Gid FROM users WHERE User='\L'
#MYSQLDefaultGID 1000
MYSQLGetDir SELECT Dir FROM users WHERE User='\L'
MySQLGetQTAFS SELECT QuotaFiles FROM users WHERE User='\L'
MySQLGetQTASZ SELECT QuotaSize FROM users WHERE User='\L'
# MySQLGetRatioUL SELECT ULRatio FROM users WHERE User='\L'
# MySQLGetRatioDL SELECT DLRatio FROM users WHERE User='\L'
MySQLGetBandwidthUL SELECT ULBandwidth FROM users WHERE User='\L'
MySQLGetBandwidthDL SELECT DLBandwidth FROM users WHERE User='\L'
after I restart the the server, the status don't return a good result.
with ls -la /home I get this:
[05:45 PM]-[vagrant#local]-[~]
$ ls -la /home
total 16
drwxr-xr-x 4 root root 4096 May 26 17:36 ./
drwxr-xr-x 26 root root 4096 May 21 17:13 ../
dr-xr-xr-x 3 ftp ftp 4096 May 26 17:36 ftp/
drwxr-xr-x 7 vagrant vagrant 4096 May 26 17:15 vagrant/
my users-table with SELECT * FROM users;
mysql> mysql> SELECT * FROM users;
+---------+--------+------------------------------------------+------+------+------------+-------------+-------------+---------+----------+-----------+------------+
| User | status | Password | Uid | Gid | Dir | ULBandwidth | DLBandwidth | comment | ipaccess | QuotaSize | QuotaFiles |
+---------+--------+------------------------------------------+------+------+------------+-------------+-------------+---------+----------+-----------+------------+
| example | 1 | 88ea39439e74fa27c09a4fc0bc8ebe6d00978392 | 2000 | 2000 | /home/test | 100 | 100 | | * | 20 | 0 |
+---------+--------+------------------------------------------+------+------+------------+-------------+-------------+---------+----------+-----------+------------+
1 row in set (0.00 sec)
sudo mc /var/log

linux server running slow if mysql (mariadb) service is running

I have setup an Ubuntu 14.04 LTS on i7-2600 box with 24G ram. I use mariadb-10.0.11 to replace mysql for more performance. And I use matmul.c (c) 2009, Rajorshi Biswas to test the system performance.The result is unusual, there is no access to mysql (mariab) server and the matnul.c result is
root#mercury:~/openmp/testopenmp# ./matmul.gcc
Enter dimension ('N' for 'NxN' matrix) (100-2000): 2000
Populating array with random values...
Completed array init.
Crunching without OMP... took 55.691565 seconds.
Crunching with OMP... took 15.113471 seconds.
but if i turn mysql mariadb off by services mysql stop the speed is much faster.
root#mercury:~/openmp/testopenmp# ./matmul.gcc
Enter dimension ('N' for 'NxN' matrix) (100-2000): 2000
Populating array with random values...
Completed array init.
Crunching without OMP... took 26.777045 seconds.
Crunching with OMP... took 3.646939 seconds
The single thread only use half time and the OMP version even faster.
Is there is configuration issues to make such performance slow down issue or it just natural??
Remark, there is no connection to mysql during the test.
I enclosed the matural.c and mysql.cnf
(the use of matural.c is just an example, all other program run slower 50% when mysql is running.)
/*
* Sample program to test runtime of simple matrix multiply
* with and without OpenMP on gcc-4.3.3-tdm1 (mingw)
*
* (c) 2009, Rajorshi Biswas
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <assert.h>
#include <omp.h>
int main(int argc, char **argv)
{
int i,j,k;
int n;
double temp;
double start, end, run;
printf("Enter dimension ('N' for 'NxN' matrix) (100-2000): ");
scanf("%d", &n);
assert( n >= 100 && n <= 2000 );
int **arr1 = malloc( sizeof(int*) * n);
int **arr2 = malloc( sizeof(int*) * n);
int **arr3 = malloc( sizeof(int*) * n);
for(i=0; i<n; ++i) {
arr1[i] = malloc( sizeof(int) * n );
arr2[i] = malloc( sizeof(int) * n );
arr3[i] = malloc( sizeof(int) * n );
}
printf("Populating array with random values...\n");
srand( time(NULL) );
for(i=0; i<n; ++i) {
for(j=0; j<n; ++j) {
arr1[i][j] = (rand() % n);
arr2[i][j] = (rand() % n);
}
}
printf("Completed array init.\n");
printf("Crunching without OMP...");
fflush(stdout);
start = omp_get_wtime();
for(i=0; i<n; ++i) {
for(j=0; j<n; ++j) {
temp = 0;
for(k=0; k<n; ++k) {
temp += arr1[i][k] * arr2[k][j];
}
arr3[i][j] = temp;
}
}
end = omp_get_wtime();
printf(" took %f seconds.\n", end-start);
printf("Crunching with OMP...");
fflush(stdout);
start = omp_get_wtime();
#pragma omp parallel for private(i, j, k, temp)
for(i=0; i<n; ++i) {
for(j=0; j<n; ++j) {
temp = 0;
for(k=0; k<n; ++k) {
temp += arr1[i][k] * arr2[k][j];
}
arr3[i][j] = temp;
}
}
end = omp_get_wtime();
printf(" took %f seconds.\n", end-start);
return 0;
}
And my.cnf
root#mercury:~/openmp/testopenmp# cat /etc/mysql/my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[client]
#port = 3306
socket = /run/mysqld/mysqld.sock
#character_set_server = utf8
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /run/mysqld/mysqld.sock
nice = 19
[mysqld]
#
# * Basic Settings
#
#
# * IMPORTANT
# If you make changes to these settings and your system uses apparmor, you may
# also need to also adjust /etc/apparmor.d/usr.sbin.mysqld.
#
skip-host-cache
skip-name-resolve
character_set_server = utf8
init_connect = 'SET NAMES utf8'
user = mysql
socket = /run/mysqld/mysqld.sock
#port = 3306
basedir = /usr/local/mysql
datadir = /usr/local/mysql/data
tmpdir = /tmp
#log = /var/log/mysql.log
general_log_file = /var/log/mysql.log
general_log = 1
# skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address = 127.0.0.1
#
# * Fine Tuning
#
key_buffer_size = 16M
max_allowed_packet = 1M
sort_buffer_size = 1M
net_buffer_length = 16K
myisam_sort_buffer_size = 8M
# Don't listen on a TCP/IP port at all.
# skip-networking
# required unique id between 1 and 2^32 - 1
server-id = 1
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /srv/mysql
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /srv/mysql
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
#!includedir /etc/mysql/conf.d/
root#mercury:/etc/mysql/conf.d# cat *
#
# The MySQL 5.6 database server configuration file.
#
# This custom MySQL 5.6 specific configuration file
# adds on top of the existing default my.cnf file at
# - /etc/mysql/my.cnf.
#
# Please add any extra MySQL 5.6 options in this file
# for sake of clarity.
#
# You may uncomment any existing option to enable it
#
# sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysqld_safe]
syslog
root#mercury:/etc/mysql/conf.d#
The issue is not solved, so I enclosed the processes list before and after mysql service running. Sorry to put as an answer as the question is over 300000 chars.
The processes list when mysql service is running
root#mercury:~# ps -elf
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
4 S root 1 0 0 80 0 - 8348 poll_s 21:07 ? 00:00:00 /sbin/init
1 S root 2 0 0 80 0 - 0 kthrea 21:07 ? 00:00:00 [kthreadd]
1 S root 3 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/0]
1 S root 4 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:0]
1 S root 5 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/0:0H]
1 S root 6 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:0]
1 S root 7 2 0 80 0 - 0 rcu_gp 21:07 ? 00:00:00 [rcu_sched]
1 S root 8 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/0]
1 S root 9 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/1]
1 S root 10 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/2]
1 S root 11 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/3]
1 S root 12 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/4]
1 S root 13 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/5]
1 S root 14 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/6]
1 S root 15 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/7]
1 S root 16 2 0 80 0 - 0 rcu_gp 21:07 ? 00:00:00 [rcu_bh]
1 S root 17 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/0]
1 S root 18 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/1]
1 S root 19 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/2]
1 S root 20 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/3]
1 S root 21 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/4]
1 S root 22 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/5]
1 S root 23 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/6]
1 S root 24 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/7]
1 S root 25 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/0]
5 S root 26 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/0]
5 S root 27 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/1]
1 S root 28 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/1]
1 S root 29 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/1]
1 S root 30 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/1:0]
1 S root 31 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/1:0H]
5 S root 32 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/2]
1 S root 33 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/2]
1 S root 34 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/2]
1 S root 35 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/2:0]
1 S root 36 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/2:0H]
5 S root 37 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/3]
1 S root 38 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/3]
1 S root 39 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/3]
1 S root 40 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/3:0]
1 S root 41 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/3:0H]
5 S root 42 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/4]
1 S root 43 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/4]
1 S root 44 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/4]
1 S root 45 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/4:0]
1 S root 46 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/4:0H]
5 S root 47 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/5]
1 S root 48 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/5]
1 S root 49 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/5]
1 S root 50 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/5:0]
1 S root 51 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/5:0H]
5 S root 52 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/6]
1 S root 53 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/6]
1 S root 54 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/6]
1 S root 55 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/6:0]
1 S root 56 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/6:0H]
5 S root 57 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/7]
1 S root 58 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/7]
1 S root 59 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/7]
1 S root 60 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/7:0]
1 S root 61 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/7:0H]
1 S root 62 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [khelper]
5 S root 63 2 0 80 0 - 0 devtmp 21:07 ? 00:00:00 [kdevtmpfs]
1 S root 64 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [netns]
1 S root 65 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [writeback]
1 S root 66 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kintegrityd]
1 S root 67 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [bioset]
1 S root 68 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/u17:0]
1 S root 69 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kblockd]
1 S root 70 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ata_sff]
1 S root 71 2 0 80 0 - 0 hub_th 21:07 ? 00:00:00 [khubd]
1 S root 72 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [md]
1 S root 73 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [devfreq_wq]
1 S root 74 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/2:1]
1 S root 75 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:1]
1 S root 79 2 0 80 0 - 0 watchd 21:07 ? 00:00:00 [khungtaskd]
1 S root 80 2 0 80 0 - 0 kswapd 21:07 ? 00:00:00 [kswapd0]
1 S root 81 2 0 85 5 - 0 ksm_sc 21:07 ? 00:00:00 [ksmd]
1 S root 82 2 0 99 19 - 0 khugep 21:07 ? 00:00:00 [khugepaged]
1 S root 83 2 0 80 0 - 0 fsnoti 21:07 ? 00:00:00 [fsnotify_mark]
1 S root 84 2 0 80 0 - 0 ecrypt 21:07 ? 00:00:00 [ecryptfs-kthrea]
1 S root 85 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [crypto]
1 S root 97 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kthrotld]
1 S root 98 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/6:1]
1 S root 99 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:1]
1 S root 118 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [deferwq]
1 S root 119 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [charger_manager]
1 S root 128 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/5:1]
1 S root 179 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kpsmoused]
1 S root 180 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:2]
1 S root 181 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/1:1]
1 S root 182 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_0]
1 S root 183 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_1]
1 S root 184 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_2]
1 S root 185 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_3]
1 S root 186 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_4]
1 S root 187 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_5]
1 S root 188 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:2]
1 S root 189 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:3]
1 S root 190 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:4]
1 S root 191 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:5]
1 S root 192 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:6]
1 S root 193 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:7]
1 S root 194 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_6]
1 S root 195 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_7]
1 S root 196 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:8]
1 S root 197 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:9]
1 S root 198 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/3:1]
1 S root 199 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/7:1]
1 S root 201 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:10]
1 S root 206 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [bioset]
1 S root 214 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/4:1]
1 S root 215 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-worker-1]
1 S root 216 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-genwork-1]
1 S root 217 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-submit-1]
1 S root 218 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-delalloc-]
1 S root 219 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-fixup-1]
1 S root 220 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-1]
1 S root 221 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 222 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-rmw-1]
1 S root 223 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-rai]
1 S root 224 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 225 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-wri]
1 S root 226 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-freespace]
1 S root 227 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-delayed-m]
1 S root 228 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-cache-1]
1 S root 229 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-readahead]
1 S root 230 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-flush_del]
1 S root 231 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-qgroup-re]
1 S root 232 2 0 80 0 - 0 cleane 21:07 ? 00:00:00 [btrfs-cleaner]
1 S root 233 2 0 80 0 - 0 transa 21:07 ? 00:00:00 [btrfs-transacti]
1 S root 402 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/u17:1]
1 S root 423 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 437 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda1-8]
1 S root 438 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 442 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda5-8]
1 S root 443 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 447 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda6-8]
1 S root 448 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 469 1 0 80 0 - 5001 poll_s 21:07 ? 00:00:00 upstart-udev-bridge --daemon
5 S root 478 1 0 80 0 - 12888 ep_pol 21:07 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
5 S message+ 488 1 0 80 0 - 9810 ep_pol 21:07 ? 00:00:00 dbus-daemon --system --fork
1 S root 556 2 0 9 - - 0 irq_th 21:07 ? 00:00:00 [irq/61-mei_me]
4 S root 557 1 0 80 0 - 10863 ep_pol 21:07 ? 00:00:00 /lib/systemd/systemd-logind
5 S syslog 599 1 0 80 0 - 63962 poll_s 21:07 ? 00:00:00 rsyslogd
1 S root 624 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [led_workqueue]
1 S root 678 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-2]
1 S root 700 1 0 80 0 - 3986 poll_s 21:07 ? 00:00:00 upstart-file-bridge --daemon
1 S root 717 1 0 80 0 - 3815 poll_s 21:07 ? 00:00:00 upstart-socket-bridge --daemon
4 S root 1008 1 0 80 0 - 3955 n_tty_ 21:07 tty4 00:00:00 /sbin/getty -8 38400 tty4
4 S root 1015 1 0 80 0 - 3955 n_tty_ 21:07 tty2 00:00:00 /sbin/getty -8 38400 tty2
4 S root 1016 1 0 80 0 - 3955 n_tty_ 21:07 tty3 00:00:00 /sbin/getty -8 38400 tty3
1 S root 1033 1 0 80 0 - 1092 poll_s 21:07 ? 00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socke
4 S root 1034 1 0 80 0 - 15342 poll_s 21:07 ? 00:00:00 /usr/sbin/sshd -D
1 S root 1036 1 0 80 0 - 5914 hrtime 21:07 ? 00:00:00 cron
1 S daemon 1038 1 0 80 0 - 4785 hrtime 21:07 ? 00:00:00 atd
5 S root 1078 1 0 80 0 - 4816 hrtime 21:07 ? 00:00:00 /usr/sbin/irqbalance
1 S root 1278 1 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutorun --debug --uniqu
0 S root 1279 1 0 80 0 - 1085 pipe_w 21:07 ? 00:00:00 logger -s -p daemon.error -t ipsec__plutorun
1 S root 1280 1278 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutorun --debug --uniqu
0 S root 1282 1278 0 80 0 - 1111 pipe_w 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutoload --wait no --pos
4 S root 1285 1280 0 80 0 - 23516 poll_s 21:07 ? 00:00:00 /usr/lib/ipsec/pluto --nofork --secretsfile /etc/
1 S root 1389 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 0
1 S root 1390 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 1
1 S root 1392 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 2
1 S root 1393 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 3
1 S root 1394 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 4
1 S root 1395 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 5
1 S root 1396 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 6
0 S root 1532 1285 0 80 0 - 1589 poll_s 21:07 ? 00:00:00 _pluto_adns
4 S root 1552 1 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadi
4 S mysql 1702 1552 0 99 19 - 174953 poll_s 21:07 ? 00:00:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/
5 S root 1744 1 0 80 0 - 6226 sigsus 21:07 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
5 S www-data 1746 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1747 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1748 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1749 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S root 1761 1 0 80 0 - 108450 ep_pol 21:07 ? 00:00:00 php-fpm: master process (/usr/local/php/etc/php-f
5 S www-data 1762 1761 0 80 0 - 108450 skb_re 21:07 ? 00:00:00 php-fpm: pool default
5 S www-data 1763 1761 0 80 0 - 108450 skb_re 21:07 ? 00:00:00 php-fpm: pool default
4 S root 1860 1 0 80 0 - 6336 ep_pol 21:07 ? 00:00:00 /usr/lib/postfix/master
4 S postfix 1869 1860 0 80 0 - 6852 ep_pol 21:07 ? 00:00:00 pickup -l -t unix -u -c
4 S postfix 1870 1860 0 80 0 - 6865 ep_pol 21:07 ? 00:00:00 qmgr -l -t unix -u
1 S root 1878 1 0 80 0 - 2671 poll_s 21:07 ? 00:00:00 /usr/sbin/pptpd
1 S root 1894 1 0 80 0 - 1110 poll_s 21:07 ? 00:00:00 /usr/sbin/xl2tpd
4 S root 1948 1 0 80 0 - 3955 n_tty_ 21:07 tty1 00:00:00 /sbin/getty -8 38400 tty1
4 S root 1961 1034 0 80 0 - 26409 poll_s 21:07 ? 00:00:00 sshd: root#pts/0
1 S root 1963 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-wri]
1 S root 1965 2 0 80 0 - 0 kaudit 21:08 ? 00:00:00 [kauditd]
4 S root 2012 1961 0 80 0 - 5848 wait 21:08 pts/0 00:00:00 -bash
0 R root 2028 2012 0 80 0 - 4612 - 21:08 pts/0 00:00:00 ps -elf
The processes list after mysql service stopped.
root#mercury:~# service mysql stop
Shutting down MySQL.. SUCCESS!
root#mercury:~# ps -elf
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
4 S root 1 0 0 80 0 - 8348 poll_s 21:07 ? 00:00:00 /sbin/init
1 S root 2 0 0 80 0 - 0 kthrea 21:07 ? 00:00:00 [kthreadd]
1 S root 3 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/0]
1 S root 5 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/0:0H]
1 S root 6 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:0]
1 S root 7 2 0 80 0 - 0 rcu_gp 21:07 ? 00:00:00 [rcu_sched]
1 S root 8 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/0]
1 S root 9 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/1]
1 S root 10 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/2]
1 S root 11 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/3]
1 S root 12 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/4]
1 S root 13 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/5]
1 S root 14 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/6]
1 S root 15 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/7]
1 S root 16 2 0 80 0 - 0 rcu_gp 21:07 ? 00:00:00 [rcu_bh]
1 S root 17 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/0]
1 S root 18 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/1]
1 S root 19 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/2]
1 S root 20 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/3]
1 S root 21 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/4]
1 S root 22 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/5]
1 S root 23 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/6]
1 S root 24 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/7]
1 S root 25 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/0]
5 S root 26 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/0]
5 S root 27 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/1]
1 S root 28 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/1]
1 S root 29 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/1]
1 S root 30 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/1:0]
1 S root 31 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/1:0H]
5 S root 32 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/2]
1 S root 33 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/2]
1 S root 34 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/2]
1 S root 35 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/2:0]
1 S root 36 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/2:0H]
5 S root 37 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/3]
1 S root 38 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/3]
1 S root 39 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/3]
1 S root 40 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/3:0]
1 S root 41 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/3:0H]
5 S root 42 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/4]
1 S root 43 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/4]
1 S root 44 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/4]
1 S root 45 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/4:0]
1 S root 46 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/4:0H]
5 S root 47 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/5]
1 S root 48 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/5]
1 S root 49 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/5]
1 S root 50 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/5:0]
1 S root 51 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/5:0H]
5 S root 52 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/6]
1 S root 53 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/6]
1 S root 54 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/6]
1 S root 55 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/6:0]
1 S root 56 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/6:0H]
5 S root 57 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/7]
1 S root 58 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/7]
1 S root 59 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/7]
1 S root 60 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/7:0]
1 S root 61 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/7:0H]
1 S root 62 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [khelper]
5 S root 63 2 0 80 0 - 0 devtmp 21:07 ? 00:00:00 [kdevtmpfs]
1 S root 64 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [netns]
1 S root 65 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [writeback]
1 S root 66 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kintegrityd]
1 S root 67 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [bioset]
1 S root 68 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/u17:0]
1 S root 69 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kblockd]
1 S root 70 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ata_sff]
1 S root 71 2 0 80 0 - 0 hub_th 21:07 ? 00:00:00 [khubd]
1 S root 72 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [md]
1 S root 73 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [devfreq_wq]
1 S root 74 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/2:1]
1 S root 79 2 0 80 0 - 0 watchd 21:07 ? 00:00:00 [khungtaskd]
1 S root 80 2 0 80 0 - 0 kswapd 21:07 ? 00:00:00 [kswapd0]
1 S root 81 2 0 85 5 - 0 ksm_sc 21:07 ? 00:00:00 [ksmd]
1 S root 82 2 0 99 19 - 0 khugep 21:07 ? 00:00:00 [khugepaged]
1 S root 83 2 0 80 0 - 0 fsnoti 21:07 ? 00:00:00 [fsnotify_mark]
1 S root 84 2 0 80 0 - 0 ecrypt 21:07 ? 00:00:00 [ecryptfs-kthrea]
1 S root 85 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [crypto]
1 S root 97 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kthrotld]
1 S root 98 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/6:1]
1 S root 99 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:1]
1 S root 118 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [deferwq]
1 S root 119 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [charger_manager]
1 S root 128 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/5:1]
1 S root 179 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kpsmoused]
1 S root 180 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:2]
1 S root 181 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/1:1]
1 S root 182 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_0]
1 S root 183 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_1]
1 S root 184 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_2]
1 S root 185 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_3]
1 S root 186 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_4]
1 S root 187 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_5]
1 S root 194 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_6]
1 S root 195 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_7]
1 S root 197 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:9]
1 S root 198 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/3:1]
1 S root 199 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/7:1]
1 S root 206 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [bioset]
1 S root 214 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/4:1]
1 S root 215 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-worker-1]
1 S root 216 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-genwork-1]
1 S root 217 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-submit-1]
1 S root 218 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-delalloc-]
1 S root 219 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-fixup-1]
1 S root 220 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-1]
1 S root 221 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 222 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-rmw-1]
1 S root 223 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-rai]
1 S root 224 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 226 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-freespace]
1 S root 227 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-delayed-m]
1 S root 228 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-cache-1]
1 S root 229 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-readahead]
1 S root 230 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-flush_del]
1 S root 231 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-qgroup-re]
1 S root 232 2 0 80 0 - 0 cleane 21:07 ? 00:00:00 [btrfs-cleaner]
1 S root 233 2 0 80 0 - 0 transa 21:07 ? 00:00:00 [btrfs-transacti]
1 S root 402 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/u17:1]
1 S root 437 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda1-8]
1 S root 438 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 442 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda5-8]
1 S root 443 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 447 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda6-8]
1 S root 448 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 469 1 0 80 0 - 5001 poll_s 21:07 ? 00:00:00 upstart-udev-bridge --daemon
5 S root 478 1 0 80 0 - 12888 ep_pol 21:07 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
5 S message+ 488 1 0 80 0 - 9810 ep_pol 21:07 ? 00:00:00 dbus-daemon --system --fork
1 S root 556 2 0 9 - - 0 irq_th 21:07 ? 00:00:00 [irq/61-mei_me]
4 S root 557 1 0 80 0 - 10863 ep_pol 21:07 ? 00:00:00 /lib/systemd/systemd-logind
5 S syslog 599 1 0 80 0 - 63962 poll_s 21:07 ? 00:00:00 rsyslogd
1 S root 624 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [led_workqueue]
1 S root 700 1 0 80 0 - 3986 poll_s 21:07 ? 00:00:00 upstart-file-bridge --daemon
1 S root 717 1 0 80 0 - 3815 poll_s 21:07 ? 00:00:00 upstart-socket-bridge --daemon
4 S root 1008 1 0 80 0 - 3955 n_tty_ 21:07 tty4 00:00:00 /sbin/getty -8 38400 tty4
4 S root 1015 1 0 80 0 - 3955 n_tty_ 21:07 tty2 00:00:00 /sbin/getty -8 38400 tty2
4 S root 1016 1 0 80 0 - 3955 n_tty_ 21:07 tty3 00:00:00 /sbin/getty -8 38400 tty3
1 S root 1033 1 0 80 0 - 1092 poll_s 21:07 ? 00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socke
4 S root 1034 1 0 80 0 - 15342 poll_s 21:07 ? 00:00:00 /usr/sbin/sshd -D
1 S root 1036 1 0 80 0 - 5914 hrtime 21:07 ? 00:00:00 cron
1 S daemon 1038 1 0 80 0 - 4785 hrtime 21:07 ? 00:00:00 atd
5 S root 1078 1 0 80 0 - 4816 hrtime 21:07 ? 00:00:00 /usr/sbin/irqbalance
1 S root 1278 1 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutorun --debug --uniqu
0 S root 1279 1 0 80 0 - 1085 pipe_w 21:07 ? 00:00:00 logger -s -p daemon.error -t ipsec__plutorun
1 S root 1280 1278 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutorun --debug --uniqu
0 S root 1282 1278 0 80 0 - 1111 pipe_w 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutoload --wait no --pos
4 S root 1285 1280 0 80 0 - 23516 poll_s 21:07 ? 00:00:00 /usr/lib/ipsec/pluto --nofork --secretsfile /etc/
1 S root 1389 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 0
1 S root 1390 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 1
1 S root 1392 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 2
1 S root 1393 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 3
1 S root 1394 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 4
1 S root 1395 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 5
1 S root 1396 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 6
0 S root 1532 1285 0 80 0 - 1589 poll_s 21:07 ? 00:00:00 _pluto_adns
5 S root 1744 1 0 80 0 - 6226 sigsus 21:07 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
5 S www-data 1746 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1747 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1748 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1749 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S root 1761 1 0 80 0 - 108450 ep_pol 21:07 ? 00:00:00 php-fpm: master process (/usr/local/php/etc/php-f
5 S www-data 1762 1761 0 80 0 - 108450 skb_re 21:07 ? 00:00:00 php-fpm: pool default
5 S www-data 1763 1761 0 80 0 - 108450 skb_re 21:07 ? 00:00:00 php-fpm: pool default
4 S root 1860 1 0 80 0 - 6336 ep_pol 21:07 ? 00:00:00 /usr/lib/postfix/master
4 S postfix 1869 1860 0 80 0 - 6852 ep_pol 21:07 ? 00:00:00 pickup -l -t unix -u -c
4 S postfix 1870 1860 0 80 0 - 6865 ep_pol 21:07 ? 00:00:00 qmgr -l -t unix -u
1 S root 1878 1 0 80 0 - 2671 poll_s 21:07 ? 00:00:00 /usr/sbin/pptpd
1 S root 1894 1 0 80 0 - 1110 poll_s 21:07 ? 00:00:00 /usr/sbin/xl2tpd
4 S root 1948 1 0 80 0 - 3955 n_tty_ 21:07 tty1 00:00:00 /sbin/getty -8 38400 tty1
4 S root 1961 1034 0 80 0 - 26409 - 21:07 ? 00:00:00 sshd: root#pts/0
1 S root 1963 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-wri]
1 S root 1965 2 0 80 0 - 0 kaudit 21:08 ? 00:00:00 [kauditd]
4 S root 2012 1961 0 80 0 - 5863 wait 21:08 pts/0 00:00:00 -bash
1 S root 2035 2 0 80 0 - 0 worker 21:13 ? 00:00:00 [btrfs-endio-2]
0 R root 2064 2012 0 80 0 - 4612 - 21:14 pts/0 00:00:00 ps -elf