Chinaunix

标题: 一台高负载linux服务器,mysql出现大量的错误 [打印本页]

作者: csstudy    时间: 2006-04-09 10:26
标题: 一台高负载linux服务器,mysql出现大量的错误
服务器使用linux+mysql+apache+php架构,会员反映服务器经常会卡,以在晚上高峰期为频繁。我查看了后台数据库日志,出现大量的以下日志。
060409 10:19:13  Aborted connection 1797 to db: 'discuz' user: 'discuz' host: `localhost' (Got timeout reading communication packets)
060409 10:19:14  Aborted connection 1809 to db: 'discuz' user: 'discuz' host: `localhost' (Got timeout reading communication packets)
作者: rardge    时间: 2006-04-09 21:49
是不是达到了 mysql 的并发连接数最大值?
作者: xxjoyjn    时间: 2006-04-09 21:54
LZ真的值得考虑这个建议哟
作者: carelezz    时间: 2006-04-10 00:35
原帖由 csstudy 于 2006-4-9 10:26 发表
服务器使用linux+mysql+apache+php架构,会员反映服务器经常会卡,以在晚上高峰期为频繁。我查看了后台数据库日志,出现大量的以下日志。
060409 10:19:13  Aborted connection 1797 to db: 'discuz' user: 'dis ...


最好贴上 show status 和 show variables 的输出,这样便于分析。

--
作者: xxjoyjn    时间: 2006-04-10 08:54
只有这个错误日志?
作者: changhelry    时间: 2006-04-10 11:14
修改连接数和时间的参数,应该可以解决。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2