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 cluster list, select the OBProxy cluster to operate and enter the OBProxy cluster overview page.
Click Add OBProxy.
In the dialog box, fill in Software version, IDC, SQL port, Exporter, Machine type, Host selection method, Host, and other information.
Click OK.
For more information, see Add OBProxy.
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.