The number of obproxy threads is 8,192 by default. If the number of connections requested by applications exceeds this value, the excess connections will be denied. This topic provides information on how to handle obproxy thread exhaustion in emergency situations.
Emergency handling procedure
obproxy thread exhaustion generally does not occur. If you encounter this issue, you can address it based on the following two scenarios:
obproxy nodes being centrally deployed in a cluster
If you are using a centrally deployed obproxy cluster and you are facing obproxy thread exhaustion, it is recommended to expand this cluster by adding new obproxy nodes through OCP.
Log in to the OceanBase Cloud Platform (OCP) console.
In the left-side navigation pane, click OBProxy.
In the upper-right corner of the page, click Create OBProxy Cluster.
On the Create OBProxy Cluster page, specify the required parameters.
Click Submit.
For more information, see Add an ODP.
Single-node deployment of obproxy or an unscalable obproxy cluster
If you are using a single-node deployment of obproxy or using an unscalable obproxy cluster, you can consider temporarily increasing the maximum allowable connection threads. Modify the obproxy cluster configuration parameter directly in the OCP console by referring to OCP User Guide.