Aborted_connects很高分析
来源:互联网 发布:q版形象设计软件 编辑:程序博客网 时间:2024/04/30 20:34
mysqladmin ext | grep Abort| Aborted_clients | 44458 || Aborted_connects | 546857 |
最近发现服务器这个两个值很高,没过几分钟就增长几十,查看手册
If a client successfully connects but later disconnects improperly or is terminated, the server increments theAborted_clients
status variable, and logs an Aborted connection message to the error log. The cause can be any of the following:
The client program did not call
mysql_close()
before exiting.The client had been sleeping more than
wait_timeout
orinteractive_timeout
seconds without issuing any requests to the server. SeeSection 5.1.4, “Server System Variables”.The client program ended abruptly in the middle of a data transfer.
If a client is unable even to connect, the server increments the Aborted_connects
status variable. Unsuccessful connection attempts can occur for the following reasons:
A client does not have privileges to connect to a database.
A client uses an incorrect password.
A connection packet does not contain the right information.
It takes more than
connect_timeout
seconds to get a connect packet. SeeSection 5.1.4, “Server System Variables”.
跟踪--使用tcpdump
tcpdump -s 1500 -w tcp.out port 3306开另一个窗口,tail -f tcp.out | strings 可以看到有连接错误信息
strings tcp.out > tcp.txtvim tcp.txt
可以看到具体的信息
Host 'XXX.XX.XX.XXX' is not allowed to connect to this MySQL serverAccess denied for user 'root'@'XXX.XX.XX.XXX' (using password: YES)0N
- Aborted_connects很高分析
- CPU很高分析
- UNIX0001.高可用性分析
- 高通操作系统分析
- cpu高分析方法
- 磁盘IO高分析
- weblogic高cpu分析
- 高通平台分析
- linux 高负载分析
- MySQL高可用性分析
- MySQL高可用性分析
- 分析高阶问题
- cpu占用高分析
- linux内存利用率很高的原因分析
- Java 占用CPU使用率很高的分析
- Java 占用CPU使用率很高的分析
- Java 占用CPU使用率很高的分析 .
- Java 占用CPU使用率很高的分析
- 一致读的理解
- JSP
- 开发中Log管理
- A+B for Input-Output Practice (VIII)
- sqlserver2008设置表、存储过程等对象筛选出现“无法为该请求检索数据。 (Microsoft.SqlServer.Management.Sdk.Sfc) ”以及智能提示失效问题
- Aborted_connects很高分析
- 用javaScript求字符串的长度
- ECmall支付功能,无法安装问题
- Unity手游之路<一>C#版本Protobuf
- 内联及解决CSS冲突
- Javadoc转换chm帮助文档的四种方法总结
- nginx基础配置指南 - 配置文件语法
- 怎样用linux内核生成自己的模块
- Swing图形编程---------Java2D