Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions node/node-operators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
including configuration management, maintenance procedures, and best practices
for stable and performant operations.

## Configuration Management

Check warning on line 12 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L12

Use sentence case for headings: 'Configuration Management'.

### Directory Structure

Check warning on line 14 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L14

Use sentence case for headings: 'Directory Structure'.

The Sei node configuration is stored in `$HOME/.sei/config/`:

Expand All @@ -31,9 +31,9 @@
[Default Configurations](#default-configurations) at the bottom of this
section.

### Essential Configuration Parameters

Check warning on line 34 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L34

Use sentence case for headings: 'Essential Configuration Parameters'.

#### Network Settings (config.toml)

Check warning on line 36 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L36

Use sentence case for headings: 'Network Settings (config.toml)'.

```toml
[p2p]
Expand All @@ -59,7 +59,7 @@
timeout-broadcast-tx-commit = "10s"
```

#### Application Settings (app.toml)

Check warning on line 62 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L62

Use sentence case for headings: 'Application Settings (app.toml)'.

```toml
# Minimum gas prices to prevent spam transactions
Expand Down Expand Up @@ -97,7 +97,7 @@
rs-backend = "pebbledb"
```

### Default Configurations

Check warning on line 100 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L100

Use sentence case for headings: 'Default Configurations'.

The full unmodified `app.toml`, `config.toml`, and `client.toml` produced by
`seid init` against the latest tagged `seid` release. Use these as the
Expand Down Expand Up @@ -216,12 +216,14 @@
# WriteMode defines the write routing mode for EVM data in the SC layer.
# Valid values: memiavl_only, migrate_evm, evm_migrated, migrate_all_but_bank,
# all_migrated_but_bank, migrate_bank, flatkv_only, test_only_dual_write
# defaults to memiavl_only
sc-write-mode = "memiavl_only"

# KeysToMigratePerBlock controls how many EVM keys the in-flight migration
# (sc-write-mode = migrate_evm / migrate_bank / migrate_all_but_bank) drains
# from memiavl into flatkv per block. Must be > 0; ignored when not migrating.
# from memiavl into flatkv per block. Default 1024 is appropriate for
# production drains; lower it (e.g. 256) to spread the migration across more
# blocks for test runs that need to observe the resume / hybrid-read path.
# Must be > 0; ignored entirely when not in a migration mode.
sc-keys-to-migrate-per-block = 1024

# Max concurrent historical proof queries (RPC /store path)
Expand Down Expand Up @@ -1361,7 +1363,7 @@
</Tab>
</Tabs>

## Database Management

Check warning on line 1366 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1366

Use sentence case for headings: 'Database Management'.

### Architecture

Expand All @@ -1386,7 +1388,7 @@
deprecated and slated for removal — new deployments and existing nodes
should run on SeiDB.

### SeiDB Configuration

Check warning on line 1391 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1391

Use sentence case for headings: 'SeiDB Configuration'.

The full set of knobs is in the auto-generated
[Default Configurations](#default-configurations) above. The block below
Expand Down Expand Up @@ -1471,7 +1473,7 @@
snapshot creation. Too-large (less frequent) intervals mean pruning takes
longer overall, which can cause missed blocks and excessive resync time.

### Giga Storage and Giga Executor

Check warning on line 1476 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1476

Use sentence case for headings: 'Giga Storage and Giga Executor'.

These are two **separate** opt-in features that ship in newer `seid`
releases. Both default to off; only enable them deliberately and after
Expand All @@ -1497,6 +1499,22 @@
sc-write-mode = "memiavl_only"
```

<Note>
The SC keys on this page are the **v6.6+** model (first tagged in
`v6.6.0-rc1`). v6.5.x binaries use a different set — `sc-write-mode` =
`cosmos_only` / `dual_write` / `split_write` plus `sc-read-mode` and
`sc-enable-lattice-hash` — and each binary rejects the other line's
`sc-write-mode` values at startup. When upgrading across v6.6, update or
remove any explicit `sc-write-mode` in `app.toml`; the removed
`sc-read-mode` / `sc-enable-lattice-hash` keys are ignored and can be
deleted. Post-v6.6, on sei-chain `main`, the drain rate moves from
`sc-keys-to-migrate-per-block` to the `NumKeysToMigratePerBlock`
governance parameter (default `0` = paused) and a new
`sc-write-mode-enable-auto` (default `true`) derives the effective mode
from on-disk migration state, ignoring the explicit key — expect these
knobs to change again in the release after v6.6.
</Note>

Enabling Giga Storage requires a fresh state sync — flipping `evm-ss-split`
on a node with existing data fails the startup safety checks because
the new EVM SS DB starts empty while Cosmos SS already has history. The
Expand All @@ -1517,7 +1535,7 @@
occ_enabled = false
```

### Database Maintenance

Check warning on line 1538 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1538

Use sentence case for headings: 'Database Maintenance'.

The database is typically stable and can be left alone, although some attention
may be required:
Expand All @@ -1544,9 +1562,9 @@

<Warning>The wipe command above deletes the entire local database (everything except `priv_validator_state.json`) and the `wasm` folder. It does not compact data in place — after running it, the node must be re-synced from a [snapshot](/node/snapshot) or via [state sync](/node/statesync) before it can serve traffic again.</Warning>

## Service Management

Check warning on line 1565 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1565

Use sentence case for headings: 'Service Management'.

### Systemd Commands

Check warning on line 1567 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1567

Use sentence case for headings: 'Systemd Commands'.

```bash
# Check service status
Expand All @@ -1565,7 +1583,7 @@
journalctl -fu seid -o cat
```

### Log Management

Check warning on line 1586 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1586

Use sentence case for headings: 'Log Management'.

Prevent logs from consuming excessive disk space by enabling rotation:

Expand All @@ -1586,9 +1604,9 @@
EOF
```

## Update Procedures

Check warning on line 1607 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1607

Use sentence case for headings: 'Update Procedures'.

### Minor Updates

Check warning on line 1609 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1609

Use sentence case for headings: 'Minor Updates'.

For minor updates that are non-consensus-breaking:

Expand All @@ -1606,7 +1624,7 @@
sudo systemctl restart seid
```

### Major Updates

Check warning on line 1627 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1627

Use sentence case for headings: 'Major Updates'.

For major upgrades that introduce state-breaking changes:

Expand All @@ -1630,7 +1648,7 @@
with minimal downtime.
</Tip>

## Performance Optimization

Check warning on line 1651 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1651

Use sentence case for headings: 'Performance Optimization'.

Performance optimizations can yield different results depending on your system's
hardware, workload, and network conditions. Before implementing any changes,
Expand All @@ -1638,7 +1656,7 @@
your specific configuration and requirements. Always back up important data
before making modifications.

### Memory Management (sysctl tuning)

Check warning on line 1659 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1659

Use sentence case for headings: 'Memory Management (sysctl tuning)'.

Optimizing memory management settings can help improve performance and
stability, particularly for high-load nodes. These settings control swap usage
Expand All @@ -1652,7 +1670,7 @@
vm.dirty_writeback_centisecs = 100 # Frequency (in hundredths of a second) at which the system writes "dirty" pages to disk
```

### Network Stack Optimization

Check warning on line 1673 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1673

Use sentence case for headings: 'Network Stack Optimization'.

Tuning the network stack can enhance packet processing efficiency and
throughput, particularly for nodes handling a large number of peers and high
Expand All @@ -1666,7 +1684,7 @@
net.core.wmem_max = 16777216 # send buffer size for network sockets
```

### Storage Optimization

Check warning on line 1687 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1687

Use sentence case for headings: 'Storage Optimization'.

Optimizing storage settings can significantly reduce write latency and improve
database performance, especially for nodes using NVMe SSDs.
Expand All @@ -1676,9 +1694,9 @@
blockdev --setra 4096 /dev/nvme0n1 # readahead value to optimize sequential reads
```

## Backup and Recovery

Check warning on line 1697 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1697

Use sentence case for headings: 'Backup and Recovery'.

### Regular Backups

Check warning on line 1699 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1699

Use sentence case for headings: 'Regular Backups'.

Automate backups to avoid data loss:

Expand All @@ -1697,7 +1715,7 @@
systemctl start seid
```

### Recovery Procedure

Check warning on line 1718 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1718

Use sentence case for headings: 'Recovery Procedure'.

Restoring from backup in case of corruption or accidental deletion:

Expand All @@ -1715,7 +1733,7 @@
systemctl start seid
```

## Security Considerations

Check warning on line 1736 in node/node-operators.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs-docs-skills-registry-and-templates) - vale-spellcheck

node/node-operators.mdx#L1736

Use sentence case for headings: 'Security Considerations'.

- Use firewalls and rate-limiting to prevent attacks
- Keep your system and node software updated
Expand Down
Loading