Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 6911a15

Browse files
authored
update default db.size.limit value (#17)
1 parent b87cb37 commit 6911a15

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/advanced/options.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
# Options
2+
23
*All available options*
34

45
Erigon is primarily controlled using the command line, started using the `./build/bin/erigon` command and stopped by pressing `CTRL-C`.
56

67
Using the command-line options allows for configurations, and several functionalities can be called using sub commands.
78

8-
The `--help` flag listing is reproduced below for your convenience.
9+
The `--help` flag listing is reproduced below for your convenience.
910

1011
```bash
1112
./build/bin/erigon --help
1213
```
1314

14-
15-
1615
## Commands
1716

1817
```
@@ -118,7 +117,7 @@ GLOBAL OPTIONS:
118117
--snap.state.stop Workaround to stop producing new state files, if you meet some state-related critical bug. It will stop aggregate DB history in a state files. DB will grow and may slightly slow-down - and removing this flag in future will not fix this effect (db size will not greatly reduce). (default: false)
119118
--snap.skip-state-snapshot-download Skip state download and start from genesis block (default: false)
120119
--db.pagesize value DB is splitted to 'pages' of fixed size. Can't change DB creation. Must be power of 2 and '256b <= pagesize <= 64kb'. Default: equal to OperationSystem's pageSize. Bigger pageSize causing: 1. More writes to disk during commit 2. Smaller b-tree high 3. Less fragmentation 4. Less overhead on 'free-pages list' maintainance (a bit faster Put/Commit) 5. If expecting DB-size > 8Tb then set pageSize >= 8Kb (default: "4KB")
121-
--db.size.limit value Runtime limit of chaindata db size (can change at any time) (default: "200GB")
120+
--db.size.limit value Runtime limit of chaindata db size (can change at any time) (default: "1TB")
122121
--db.writemap Enable WRITE_MAP feature for fast database writes and fast commit times (default: true)
123122
--torrent.port value Port to listen and serve BitTorrent protocol (default: 42069)
124123
--torrent.maxpeers value Unused parameter (reserved for future use) (default: 100)

0 commit comments

Comments
 (0)