I have a registration application. 10000 people want to access the server but only 3000 quotas available. 3000 users registered successfully online within 3 minutes on the registration day. However, some users encounter 504 error page (Gateway time out). I checked the max_used_connections
variable, the value is 10 only. The max_connections
value is 151.
The max_used_connections
is defined as
the maximum number of connections that have been in use simultaneously since the server started.
I wonder why the value is only 10. Is it too small compared with 3000 users registered successfully online within 3 minutes?
max_user_connections
value is 0. TheMax_used_connections
value is 10. Themax_connections
value is 151. Since theMax_used_connections
value is only 10 (not reaching 151) , I don't need to increase themax_connections
value. Am I right?Max_used_connections
tomax_used_connections
. But I just copy it in MySQL Workbench within the Status and System Variables column. It displays the Capital "M".STATUS
values are readonly. What it displays (cap or lower case) is what you must use.