Skip to content

server_state stuck in connected or syncing

Elliot. edited this page Aug 15, 2025 · 2 revisions

To check the status of your server, run server_info:

> ./rippled server_info

If the output contains one of the following:

"server_state" : "connected",
"server_state" : "syncing",

and this persists for a long period of time (more than 10 minutes), and

  • you are using SSDs
  • you are currently using RocksDB

Then you should try switching to NuDB.

  1. Stop the server (ctrl+c)
  2. Edit rippled.cfg, updating the [node_db] and (optionally) [database_path] stanzas

Example:

[node_db]
type=nudb
path=/var/lib/rippled/dbnudb/nudb
advisory_delete=0

[database_path]
/var/lib/rippled/dbnudb

Ensure that rippled has permission to write to the path (e.g. /var/lib/rippled/dbnudb) and that there is no existing data there (to prevent conflicts).

  1. Start the server

Under typical conditions, rippled should reach "server_state" : "full", within a few minutes.


Server Monitoring

You should consider setting up a Grafana dashboard to track the following:

  • peers
  • peer_disconnects
  • peer_disconnects_resources
  • I/O service threads
Clone this wiki locally