-
Notifications
You must be signed in to change notification settings - Fork 556
Open
Milestone
Description
I have a problem with mysql2 gem 0.3.21 with ever-increasing Aborted_clients values. My rails version is 3.2.22.
sudo mysql -e "SHOW GLOBAL STATUS LIKE 'aborted_clients'";
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| Aborted_clients | 260 |
+-----------------+-------+
>> Mysql2::Client.new(host: "localhost", username: "root").close
>> Mysql2::Client.new(host: "localhost", username: "root").close
>> Mysql2::Client.new(host: "localhost", username: "root").close
sudo mysql -e "SHOW GLOBAL STATUS LIKE 'aborted_clients'";
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| Aborted_clients | 263 |
+-----------------+-------+
It brings a lot of problems such as big log file and sadness my boss.
Our project has a lot of db requests.
I can not use a different version of rails, since it is associated with long-term project migration.
fernandomm and CyrilFind
Metadata
Metadata
Assignees
Labels
No labels