MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 1795|回复: 0
打印 上一主题 下一主题

[性能优化] mysql 日志中出现Forcing close of thread XXX user: 'XXX'

[复制链接]
跳转到指定楼层
1#
发表于 2017-6-19 16:07:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
MySQL总是隔段时间就停掉,查看日志,里面出现几行warning警告
170612 18:19:40 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
170612 18:19:40 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
170612 18:19:40 [Note] Server socket created on IP: '0.0.0.0'.
170612 18:19:40 [Warning] 'proxies_priv' entry '@ root@ipv6-1-13.localdomain' ignored in --skip-name-resolve mode.
170612 18:19:40 [Note] Event Scheduler: Loaded 0 events
170612 18:19:40 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
170612 18:46:11 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

170612 18:46:11 [Note] Event Scheduler: Purging the queue. 0 events
170612 18:46:13 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 175  user: 'root'

170612 18:46:13 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 174  user: 'root'

170612 18:46:13 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 173  user: 'root'

170612 18:46:13 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 172  user: 'root'

170612 18:46:13 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 169  user: 'root'

170612 18:46:13 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 163  user: 'root'
在网上查了好多,大部分都说是dns解析问题,可我的配置文件已经配置了skip-external-locking
skip-name-resolve 这两个参数了,小弟实在是不知道该怎么解决了,所以就在此发帖请求各位大神。
哪位好心的大神能帮忙一下,看看出现该情况的原因。小弟不胜感谢

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享淘帖 顶 踩
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-5-3 20:26 , Processed in 0.108570 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表