Bug #99002 Suggest warn user not use more than 64K connections in mysql doc
| Submitted: | 20 Mar 2020 8:18 | Modified: | 20 Mar 2020 18:11 |
|---|---|---|---|
| Reporter: | Fungo Wang (OCA) | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
| Version: | 5.7, 8.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | 100K, 64K, max_connections | ||
[20 Mar 2020 8:18]
Fungo Wang
[20 Mar 2020 9:20]
MySQL Verification Team
Thank you for the bug report.
[20 Mar 2020 17:50]
Paul DuBois
Posted by developer: re: " In the mysql doc, the max value of max_connections is 100K, but actually 1. for 8.0, it only reach to 64K (refer bug #98624), " max_connections can in fact be set to 100000, as documented: mysql> set global max_connections=100000; Query OK, 0 rows affected (0.00 sec) mysql> select @@max_connections; +-------------------+ | @@max_connections | +-------------------+ | 100000 | +-------------------+ 1 row in set (0.00 sec) So the documentation is accurate. If a large value leads to problematic behavior, that's a server issue, to be dealt with in the course of the other bug that you filed (thanks for doing so). re: " 2. for 5.7, it cause data issue after 64K in 5.7 (refer bug #98911), this is much more dangerous than mysqld crash for a database product. " Again, not a docs issue. If a large value leads to problematic behavior, that's a server issue, to be dealt with in the course of the other bug that you filed (again, thanks for doing so).
[20 Mar 2020 18:11]
Fungo Wang
Hi Paul, > max_connections can in fact be set to 100000, as documented: Yes, it's true. I won't object with you for this point, it can be set to the value as documentation. My request is not to treat/accept this as a bug. But to add warning in the doc, to let the users know that this could lead critical issue. There are no other way to feedback such message/request, so I filed this bug here. Thanks.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.