"open files must not be less than 20000" Displayed During the OceanBase Cluster Startup
Symptom
The following message is displayed when the OceanBase cluster is started:
open files must be not be less than 20000(Current value: 1024)

Key Process and Cause Analysis
The maximum number of files in the configuration file is too small. As a result, when the number of opened files exceeds the maximum number, the operation fails.
Conclusion and Solution
- Run the following command on the server CLI:
cat >> /etc/security/limits.conf << EOF * soft nofile 655350 * hard nofile 655350 EOF
- Log in to the server again for the configuration in step 1 to take effect.
- Check the current value of open files.
ulimit -n
If 655350 is returned, the configuration is successful.
Parent topic: Troubleshooting