慢请求 – MySQL服务器?
有时服务器需要很多时间来处理请求。 还有一个错误,那就是连接到mysql服务器的连接太多了。 我已经将max_connections设置为800,但这根本没有帮助。 我也优化了数据库。 当问题出现时,这是最高的输出。 top – 20:07:48 up 164 days, 13:21, 1 user, load average: 10.70, 12.08, 11.45 Tasks: 186 total, 8 running, 178 sleeping, 0 stopped, 0 zombie Cpu(s): 34.6%us, 6.7%sy, 0.0%ni, 2.0%id, 56.7%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 6291456k total, 1200580k used, 5090876k free, 0k buffers Swap: 0k total, 0k used, 0k free, […]