最大接続数設定†mysql> show global variables like 'max_connections'; 起動してからの累積接続数†mysql> show global status like 'Connections'; 起動してからこれまでの最大同時接続数†mysql> show global status like 'Max_used_connections'; threads 関連ステータス†mysql> show global status like 'Thread_%'; Threads_cached キャッシュされているスレッド数(スレッドは使いまわされる) Threads_connected 現在の接続数 Threads_created 接続を処理するために生成されたスレッド数(この値が増えまくるなら、cached が足りていない) Threads_running スリープ状態になっていないスレッドの数 プロセスを強制終了する†mysql>show processlist; <--IDを確認 mysql>kill 該当のID |