Skip to content
Merged
Show file tree
Hide file tree
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
48 changes: 48 additions & 0 deletions nodes/celestia-node-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,51 @@ rm -rf ~/.celestia-bridge-private
# celestia <node-type> init --p2p.network <network>
celestia bridge init --p2p.network private
```

## Error: "too many open files"

When running a Celestia bridge node, you may encounter an error in the
logs similar to this:

```bash
Error while creating log file in valueLog.open error: while opening file: /opt/celestia/.celestia-bridge/data/003442.vlog error: open /opt/celestia/.celestia-bridge/data/003442.vlog: too many open files
```

This error indicates that the Celestia application is trying to open more
files than the operating system's limit allows. To fix this, you will need
to edit the Celestia bridge service file to increase the number of file
descriptors that the service can open.

1. Open the service file for editing:

```bash
nano /etc/systemd/system/celestia-bridge.service
```

2. Modify the `LimitNOFILE` parameter:

In the service file, find the `LimitNOFILE` parameter under the
`[Service]` section and set its value to `1400000`. It should look like this:

```ini
[Service]
...
LimitNOFILE=1400000
...
```

:::tip NOTE
Be cautious when increasing file descriptor limits. Setting this value too
high might affect system performance. Ensure the value is appropriate
for your system's capabilities.
:::

3. Reload daemon and restart bridge service:

```bash
sudo systemctl daemon-reload
```

```bash
sudo systemctl restart celestia-bridge
```
6 changes: 3 additions & 3 deletions nodes/mocha-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Celestia network. The default port is 26657.

- `rpc.celestia-mocha.com`
- `rpc-2.celestia-mocha.com`
- `celestia-rpc.f5nodes.com`
- `celestia-testnet-rpc.f5nodes.com`
- `celestia-testnet.brightlystake.com`
- `rpc-celestia-mocha.architectnodes.com`
- `rpc-celestia-mocha.trusted-point.com`
Expand All @@ -98,7 +98,7 @@ The default port is 1317.
- [https://api-mocha.pops.one](https://api-mocha.pops.one)
- [https://api.celestia-mocha.com/](https://api.celestia-mocha.com/)
- [https://api-2.celestia-mocha.com/](https://api-2.celestia-mocha.com/)
- [https://celestia-api.f5nodes.com](https://celestia-api.f5nodes.com)
- [https://celestia-testnet-api.f5nodes.com](https://celestia-testnet-api.f5nodes.com)
- [https://celestia-testnet.brightlystake.com/api](https://celestia-testnet.brightlystake.com/api)
- [https://rest-celestia-mocha.architectnodes.com](https://rest-celestia-mocha.architectnodes.com)
- [https://api-celestia-mocha.trusted-point.com](https://api-celestia-mocha.trusted-point.com)
Expand All @@ -120,7 +120,7 @@ broadcast transactions.
- `grpc-2.celestia-mocha.com:443`
- `full.consensus.mocha-4.celestia-mocha.com:9090`
- `consensus-full-mocha-4.celestia-mocha.com:9090`
- `celestia-grpc.f5nodes.com`
- `celestia-testnet-grpc.f5nodes.com`
- `celestia-testnet.brightlystake.com:9390`
- `grpc-celestia-mocha.architectnodes.com:1443`
- `grpc-celestia-mocha.trusted-point.com:9099`
Expand Down