---
title: 启动OceanBase集群时提示open files must be not be less than 20000的解决方法
description: "启动OceanBase集群时提示："
url: https://www.hikunpeng.com/document/detail/zh/kunpengdbs/ecosystemEnable/OceanBase/kunpengocenbase_04_0014.html
sourcePath: /source/zh/kunpengdbs/ecosystemEnable/OceanBase/kunpengocenbase_04_0014.html
indexId: 6f8456697983db8e61e683cb5ad0eaf92c65241cf90c6b6b2aa5642b41eda93876
---
# 启动OceanBase集群时提示open files must be not be less than 20000的解决方法

#### 问题现象描述

启动OceanBase集群时提示：

```
open files must be not be less than 20000(Current value: 1024)
```


#### 关键过程、根本原因分析

配置文件里面的最大文件数设置过小，导致打开文件数超过最大文件数时被阻止。


#### 结论、解决方案及效果

1. 在服务器的命令行界面执行如下命令。

```
cat >> /etc/security/limits.conf << EOF
*       soft    nofile  655350
*       hard    nofile  655350
EOF
```


2. 重新登录服务器，使1的配置生效。
3. 查看open files当前值。

```
ulimit -n
```


  命令返回655350，表示已配置成功。
