MySQL: ERROR 1040: Too many connections”的异常情况,造成这种情况的一种原因是访问量过高,MySQL服务器抗不住,这个时候就要考虑增加从服务器分散读压力:另一种原因就是MySQL配置文件中max_connections值过小.首先,我们来查看mysql的最大连接数: root@hongsin-monitor-db 18:14:58 [(none)]>show variables like '%max_connections%'; +-------------
vmstat结果内容的解释 Vmstat procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 2 0 88 199564 134860 1175252 0 0 0 352 9323 10496 8 6 85 0 0 procs r 列表示运行和等待cpu时间片的进程数,如