现象:http://task.chinasoft.com.wx/
所有任务能打开,我的任务打开很慢

有些人能用,有些人不能用,数据库出现大量的未认证用户连接,连接数利用率超过70%

重启nginx,apache,mysql没有用

问题依旧

Kill 掉cdn的推送延迟脚本,问题依旧

后面不知道是否是重启 php-fpm 解决?未知

# 批量kill mysql的进程
for id in `mysqladmin -uroot -p"pass" processlist|grep -i "unauthenticated"|awk '{print $2}'`
do
    mysqladmin -uroot -p"pass" kill ${id}
done

mysqladmin -uroot -p processlist|grep -i "unauthenticated"

mysql -uxtrabackup -p>/dev/null | grep -i "unauthenticated"|wc -l

mysql> show processlist;
+-------+----------------------+---------------------+------------+-------------+------+---------------------------------------------------------------+------------------------------------------------------------------------------------------------------+-----------+---------------+
| Id    | User                 | Host                | db         | Command     | Time | State                                                         | Info                                                                                                 | Rows_sent | Rows_examined |
+-------+----------------------+---------------------+------------+-------------+------+---------------------------------------------------------------+------------------------------------------------------------------------------------------------------+-----------+---------------+
|    | rep                  |  | NULL       | Binlog Dump |  | Master has sent all binlog to slave; waiting  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|    | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|   | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |  |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | root                 | localhost           | NULL       | Sleep       |    |                                                               | NULL                                                                                                 |         |             |
|  | unauthenticated user | connecting host     | NULL       | Killed      |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | yuantuan             |     | cms_global | Sleep       |    |                                                               | NULL                                                                                                 |          |             |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |   |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | root                 | localhost           | NULL       | Query       |     | starting                                                      | show processlist                                                                                     |          |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |    |  |              |
|  | unauthenticated user | connecting host     | NULL       | Connect     |     |  |              |
|  | yuantuan             |  | cms_global | Query       |     | Sending data                                                  | SELECT count(*) FROM search_site_pages_6 WHERE `site_id`= AND `html` LIKE '%de/video-converters/t |         0 |             0 |
+-------+----------------------+---------------------+------------+-------------+------+---------------------------------------------------------------+------------------------------------------------------------------------------------------------------+-----------+---------------+
 rows in set (0.00 sec)

mysql> 

后续还是经常出现类似的情况,用kill干掉回话也不行,后面不知道修改了哪里又好了,具体的修改内容如下,供参考

已经做过的操作:

1.调整my.cnf参数

#加大连接池数
thread_pool_size = 128
# 加到最大thread数量
thread_pool_max_threads = 512
table_open_cache = 32768
# 跳过dns解析
skip-name-resolve
# 减小超时时间
wait_timeout = 60
interactive_timeout = 60
# 增大最大连接数
max_connections = 1200
max_connect_errors = 10000
max_allowed_packet = 512M
back_log = 49152
# 更改binlog日志为row类型,之前是mixed
binlog_format=row

在Linux下这个参数的值不能大于系统参数tcp_max_syn_backlog的值
通过以下命令可以查看当前值:cat /proc/sys/net/ipv4/tcp_max_syn_backlog
通过以下命令进行修改sysctl -w net.ipv4.tcp_max_syn_backlog=98304

[root@newcms:~]# cat /proc/sys/net/ipv4/tcp_max_syn_backlog
16384
[root@newcms:~]# sysctl -w net.ipv4.tcp_max_syn_backlog=98304
net.ipv4.tcp_max_syn_backlog = 98304
[root@newcms:~]# cat /proc/sys/net/ipv4/tcp_max_syn_backlog
98304

# 观察mysql日志,修改相关的参数

2019-09-28T00:31:55.707617Z 0 [ERROR] Threadpool could not create additional thread to handle queries, because the number of allowed threads was reached. Increasing 'thread_pool_max_threads' parameter can help in this situation.
 If 'extra_port' parameter is set, you can still connect to the database with superuser account (it must be TCP connection using extra_port as TCP port) and troubleshoot the situation. A likely cause of pool blocks are clients that lock resources for long time. 'show processlist' or 'show engine innodb status' can give additional hints.

# 修改my.cnf的参数
thread_pool_max_threads = 512

2.跳转php.ini参数,加强对session的回收

3.删除一些表

4.将非应用连接的db账号权限全部取消,排除连接干扰
之前应用连接的账号权限比较大:对所有的数据库都有增删改查的权限,将权限控制在部分数据库中

5.查看数据库的查询状态:
[root@newcms:~]# mysqladmin -uroot -p status -i 1
Enter password:
Uptime: 13805  Threads: 595  Questions: 207060  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 14.998
Uptime: 13806  Threads: 595  Questions: 207126  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.002
Uptime: 13807  Threads: 595  Questions: 207206  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.007
Uptime: 13808  Threads: 595  Questions: 207285  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.011
Uptime: 13809  Threads: 595  Questions: 207356  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.016
Uptime: 13810  Threads: 595  Questions: 207434  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.020
Uptime: 13811  Threads: 595  Questions: 207519  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.025
Uptime: 13812  Threads: 595  Questions: 207583  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.029
Uptime: 13813  Threads: 595  Questions: 207659  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.033
Uptime: 13814  Threads: 595  Questions: 207733  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.037
Uptime: 13815  Threads: 595  Questions: 207793  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.041
Uptime: 13816  Threads: 595  Questions: 207879  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.046
Uptime: 13817  Threads: 595  Questions: 207956  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.050
Uptime: 13818  Threads: 595  Questions: 208035  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.055
Uptime: 13819  Threads: 595  Questions: 208102  Slow queries: 127  Opens: 33078  Flush tables: 1  Open tables: 9132  Queries per second avg: 15.059

percona mysql5.7进程出现大量unauthenticated user解决记录的更多相关文章

  1. C#设置进程PATH环境变量值解决某些Win32DLL找不到路径问题

    C#.NET通过设置当前进程PATH环境变量值解决某些Win32DLL找不到路径问题 以下函数设置PATH环境变量值(请注意:该环境变量为当前进程的环境变量,非系统环境变量)用于解决在调用某些Win3 ...

  2. Percona MySQL5.7内存OOM案例导致重启的memory和thread分析

    前言 在一个阳光明媚的下午,电脑右下角传来一片片邮件提醒,同时伴随着微信钉钉的震动,打开一看,应用各种出错,天兔告警,数据库服务器内存爆红,Mysql数据库实例挂掉了. 排查 先交代一下数据库版本: ...

  3. percona mysql5.7关闭审计功能方法

    数据库的审计日志占用大量空间,当时是为了测试审计功能开启的,现在需要关闭 # /data/mysql_data]# du -sh * 124G audit.log # 查询审计相关参数 mysql&g ...

  4. mysql执行show processlist unauthenticated user 解决方法

    一台unibilling机器前几天突然负载变重. 在top中发现cpu被大量占用. agi程序运行的很慢,并出现僵尸进程. 其实当时只有50个左右的并发呼叫. 远远达不到正常水准. 重新启动机器问题也 ...

  5. SqlServr进程内存使用增长的解决办法

    SqlServr进程使用的内存缓慢增长是正常的现象,但在服务器长时间不重启或sql服务不重启的情况下,最终,这个进程会耗尽所有的内存,导致所有终端无法正常与数据库交互. 1.设置数据库最大使用内存的值 ...

  6. 【Windows 8】pid为4的system进程占用80端口的解决办法

    因为Apache无法启动的原因,用netstat命令查看了一下80端口是否被占用了,如下: C:\Users\Maple>netstat -ano | findstr TCP LISTENING ...

  7. w3wp.exe进程占用内存过高解决方法

    解决CPU占用过多: 1.在IIS中对每个网站进行单独的应用程序池配置.即互相之间不影响. 2.设置应用程序池的CPU监视,不超过25%(服务器为4CPU),每分钟刷新,超过限制时关闭. 根据w3wp ...

  8. VS2017 启动调试出现 无法启动程序“http://localhost:15613” 操作在当前状态中是非法的。 同时附加进程也是错误的解决方法

    第一次发表这样的博客,不会如何的排版,还有很多的不懂,大神勿喷哈! 同时是给自己做的一次记录,已方便后面可能会同样出现该问题后不用像无头苍蝇一样到处百度乱找 VS2017 启动调试出现  无法启动程序 ...

  9. Sublime Text3配置及控制台乱码[cmd杀死进程乱码/编译文件乱码]解决方法

    [NodeJs] 1.安装 http://nodejs.cn/download/ 2.安装过程省略(因为已经安装过了) 和平时安装软件没区别 3.配置环境 计算机--->属性-->高级系统 ...

随机推荐

  1. python基础之面试常问

    目录 python相对其他语言有什么特点? python内存管理机制,gc机制的了解,gc回收三种算法. lambda函数 高级函数 map.reduce.filter.sorted等. 简述六种基本 ...

  2. 51nod 2387 戴德兰

    牛牛非常喜欢赶deadline.输入n, c, d一共有n个任务,第i个任务需要a[i]分钟完成 特别的,在最后d分钟,牛牛的效率会变成双倍(耗时变为一半) 可能出现一个任务前半部分不在最后d分钟,后 ...

  3. Django之路——5 Django的模板层

    你肯能已经注意到我们在例子视图中返回文本的方式有点特别. 也就是说,HTML被直接硬编码在 Python代码之中. def current_datetime(request): now = datet ...

  4. Vue当中的this

    10事件绑定 methods当中的this就是Vue实例对象vm var vm = new Vue({ el: '#app', data: { num: 0 }, // 注意点: 这里不要忘记加逗号 ...

  5. 九.Protobuf3特殊类型

    Protobuf3 Any类型 Any消息类型允许您将消息作为嵌入类型,而不需要它们 .proto定义.Any包含任意序列化的消息(字节),以及一个URL,该URL充当该消息的全局唯一标识符并解析为该 ...

  6. ArrayList 集合的几种遍历的方法

    ArrayList 集合  也可称作动态数组(长度可变),在新建的时候是没有默认长度的,在新增数据长度小于10的时候,ArrayList 的长度会自动设置为10 //了解更多可以按住Ctrl 再点击你 ...

  7. javaweb学习笔记(二)

    一.javaweb学习是所需要的细节 1.Cookie的注意点 ① Cookie一旦创建,它的名称就不能更改,Cookie的值可以为任意值,创建后允许被修改. ② 关于Cookie中的setMaxAg ...

  8. YAML_05 定义一个变量创建用户,设置密码

    ansible]# vim user2.yml --- - hosts: cache   remote_user: root   vars:     user: wangwu   tasks:     ...

  9. 014_Python3 循环语句

    1.while 循环 #!/usr/bin/env python3   n = 100   sum = 0 counter = 1 while counter <= n:     sum = s ...

  10. js之大文件断点续传

    文件夹上传:从前端到后端 文件上传是 Web 开发肯定会碰到的问题,而文件夹上传则更加难缠.网上关于文件夹上传的资料多集中在前端,缺少对于后端的关注,然后讲某个后端框架文件上传的文章又不会涉及文件夹. ...