Skip to content

Commit 1346d01

Browse files
authored
Update the increase to 'minimum RLIMIT_NOFILE requirement' in the dev docs (#836)
* Update the increase to 'minimum RLIMIT_NOFILE requirement' in the dev docs * Set the open files limit to 1048576
1 parent 7fa89e2 commit 1346d01

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

apps/nextra/pages/en/build/cli/running-a-local-network.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ called \`Result::unwrap()\` on an \`Err\` value: Os { code: 24, kind: Uncategori
9696
This means there were too many open files on your system. On many Unix systems you can increase the maximum number of open files by adding something like this to your `.zshrc`:
9797
9898
```bash filename="Terminal"
99-
ulimit -n 32768
99+
ulimit -n 1048576
100100
```
101101
102102
### Docker is not available

apps/nextra/pages/en/network/nodes/bootstrap-fullnode/aptos-db-restore.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ disable the pruner by following the instructions in the [disabling the ledger pr
112112
starting the node. Note: performing a full history restore requires a significant amount of resources and time.
113113
See the resource requirements below.
114114

115-
- **Open File Limit**: Set the open file limit to 10K, e.g., using `ulimit -n 10000`.
115+
- **Open File Limit**: Set the open file limit >= 999999, e.g., using `ulimit -n 1048576`.
116116

117117
If you are restoring a node, you will need the following resources:
118118

apps/nextra/pages/en/network/nodes/localnet/local-development-network.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ called \`Result::unwrap()\` on an \`Err\` value: Os { code: 24, kind: Uncategori
9999
This means there were too many open files on your system. On many Unix systems you can increase the maximum number of open files by adding something like this to your `.zshrc`:
100100
101101
```bash filename="Terminal"
102-
ulimit -n 32768
102+
ulimit -n 1048576
103103
```
104104
105105
### Docker is not available

apps/nextra/pages/zh/build/cli/running-a-local-network.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ called \`Result::unwrap()\` on an \`Err\` value: Os { code: 24, kind: Uncategori
102102
这意味着您的系统上打开的文件太多。在许多类 Unix 系统上,您可以通过向您的 `.zshrc` 添加类似以下内容来增加打开文件的最大数量:
103103
104104
```bash filename="Terminal"
105-
ulimit -n 32768
105+
ulimit -n 1048576
106106
```
107107
108108
### Docker 不可用

apps/nextra/pages/zh/network/nodes/localnet/local-development-network.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ called \`Result::unwrap()\` on an \`Err\` value: Os { code: 24, kind: Uncategori
103103
这意味着您的系统上打开的文件太多。在许多类 Unix 系统上,您可以通过向 `.zshrc` 添加类似以下的内容来增加打开文件的最大数量:
104104
105105
```bash filename="Terminal"
106-
ulimit -n 32768
106+
ulimit -n 1048576
107107
```
108108
109109
### Docker 不可用

0 commit comments

Comments
 (0)