"Too many connections" on all nodes with only few established connections
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
New
|
Undecided
|
Unassigned |
Bug Description
Percona-
All cluster nodes have "Too many connections" error, while each of them have only relatively few network connections.
max_connections = 500
max_user_
thread pool is used.
Nodes had between 70 and 150 ESTABLISHED state TCP connections each when the "Too many errors" was happening.
Nothing else is running on these servers, so there are only two connection types through the socket: clustercheck xinetd service, which is limited to 120 instances at xinetd.conf; and collectd which uses a single connection to monitor the servers.
This should leave between 200 and 300 free connections taking into account global max_user_
After two out of three nodes were shut down, the third node started allowing logins from root and nothing special was happening there.
I understand that this bug report is "pretty thin" to put it mildly. Next time I will know to use the "--protocol=TCP" along with "mysql -P extra_port" and try get some extra information......
The "-P" option to mysql client could automatically imply "--protocol=TCP", by the way, or give an error if it is using socket. Since it makes no sense at all to give -P option when connecting through socket.
In fact I feel like I should open another bug about this behavior.