[MDEV-6206] wsrep_slave_threads subtracts from max_connections Created: 2014-05-03 Updated: 2014-05-10 Resolved: 2014-05-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.37-galera |
| Fix Version/s: | 5.5.38-galera, 10.0.11-galera |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Description |
|
my.cnf:
|
| Comments |
| Comment by Elena Stepanova [ 2014-05-03 ] | ||||
|
I'm not sure it's actually wrong, assigning to nirbhay_c to decide. | ||||
| Comment by Daniel Black [ 2014-05-05 ] | ||||
|
My basis for the bug report is the max_connections definition: https://mariadb.com/kb/en/server-system-variables/#max_connections Though a wsrep_slave_threads shows up in the process list its not actually a client connection. I see the wsrep_slave_threads also affects the status threads_connected.
I appreciate that even async replication took two "connections" as a slave and 1 per slave as a master however it seems wsrep_slave_threads can make much more of an impact into the max_connections. I'm in favour of preserving the definition of max_connections as client connections but alter the statusThreads_connected definition to include systems threads. | ||||
| Comment by Nirbhay Choubey (Inactive) [ 2014-05-08 ] | ||||
|
Hi Daniel, | ||||
| Comment by Daniel Black [ 2014-05-08 ] | ||||
|
> I too think "system" threads should not be included under "connection" threads. Thank you. I hoped you see it that way too. > However,I do not feel like changing the definition of Threads_connected, would rather introduce a works for me. | ||||
| Comment by Nirbhay Choubey (Inactive) [ 2014-05-10 ] | ||||
|
Fix pushed to maria-5.5-galera. | ||||
| Comment by Daniel Black [ 2014-05-10 ] | ||||
|
thank you. http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3492 |