Skip to content

Monitoring ​

Cinder has no metrics endpoint yet. The log format can change between versions. The engine mode (cinder --engine) writes lines for engine_newPayload, engine_forkchoiceUpdated and the blocks that it builds, and a few periodic lines, to standard output. Errors go to standard error. This page tells what each field means and which values the project saw on a healthy mainnet node. The repository also has console dashboards that read these lines.

The "healthy" values come from the measurements on the Performance page. Some of them come from the desktop, which other services shared, against reth 2.0. The others come from the dedicated server, against reth 2.7. Use them to see the size of a value, not as limits.

Start lines ​

At start, the node prints these lines:

exec isolation: executing thread on CPU N, its siblings left free, other threads on M CPUs
p2p: K known nodes from the node file
p2p: enode://...@<this host>:PORT
JSON-RPC namespaces: HTTP eth,net,web3 | WebSocket eth,net,web3
JSON-RPC on http://ADDR:PORT (WebSocket on the same port)
Cinder engine API on ADDR:PORT, database head #N, persist depth K, p2p backfill
  • exec isolation: shows that the executing thread has a core of its own. It goes to standard error. It does not show with --no-exec-iso or with fewer than 4 CPUs. Read Tuning.
  • p2p: K known nodes from the node file shows with --p2p when the file DIR/p2p-nodes exists. A second line, p2p: N good peers from the node file dialed first (B in backoff), gives the good peers of before that the node dials first.
  • p2p: with the enode shows with --p2p only. Put your public address in place of <this host>.
  • JSON-RPC namespaces: and JSON-RPC on show with --http only. The first line gives the namespaces of HTTP and of WebSocket (--http-api, --ws-api) and, with --rpc-timeout, the time limit of a request.
  • database head #N is the last block in the database.
  • The last part tells how the node fetches missing blocks: p2p backfill (--p2p), backfill enabled (--backfill-rpc) or nothing.

newPayload ​

Each engine_newPayload call that reaches the chain writes one line. A call that fails before that (a decode error, a wrong fork, a wrong block hash or an engine error) writes no line. For a block of the Amsterdam fork, the node writes the upgrade message to standard error (read Error lines):

newPayload  #N 0xHASH txs T seen S held H gas GM: VALID [prewarm P exec E (wait W) diff D root R = storage S + accounts A + replay X (apply Y prefetch F) pre B hist I tn K] (TOTAL ms) reads RN in RW ms, miss exec a/s/n root a/s/n, prefetch queued Q left L, writes WA/WS, sroot new tail T ms upd U nodes N loaded O wait V ms busy C ms fallback 0, read-ahead queued Q read R skipped S used U hit H dropped D

The line can have more parts before sroot: the time to read and decode the request, and the root path (see below).

All times are in milliseconds.

FieldMeaning
#N 0xHASHthe block number and the first 12 hex digits of its hash
txs Ttransactions in the block
seen Stransactions of the block that the pool knew before the block came (announced or held). Only with a pool (--p2p or --http)
held Htransactions of the block that the pool held in full. For the transactions that the pool admitted, the node takes the sender from the pool and does not recover it again
gas GMgas used, in millions
statusVALID, INVALID (with the reason after it), SYNCING or ACCEPTED. A SYNCING or ACCEPTED line shows the times of the last executed block again
prewarm Ptime to start the background work (sender recovery, prewarm, prefetch). Near 0 on a node with --threads above 1
exec Eblock execution, from the start to the end of the background work
wait Wthe part of exec after the last transaction, until the background threads stop
diff Dtime to collect the block's state changes
root Rthe state root
storage S, accounts Athe storage tries and the account trie, parts of root
replay Xthe rest of root. It includes apply and prefetch
apply Ythe diffs of unwritten ancestors applied again (replay path only)
prefetch Fthe trie paths of the written keys, read before the root
pre Bthe time before execution started, for example a wait for the writer
hist Ithe time to build the block's history (receipts, lookups)
tn Kthe time to keep the trie nodes that the children of the block can use
(TOTAL ms)the block's processing in the node, from the start of execution work until the status is ready. The decoding of the request is not included
reads RN in RW msdatabase reads of the executing thread, and the time it waited on them (the "read wait")
miss exec a/s/nmisses of the cross-block cache during execution: accounts, slots, trie nodes
miss root a/s/nthe same during diff and root
prefetch queued Q left Lwritten keys that the prewarm gave to the trie prefetch, and the keys of them that were not done when execution ended
writes WA/WSaccounts and slots that the block wrote

The read-ahead part is the read-ahead of slot runs. It is at the end of the line. The line has no read-ahead part when the read-ahead is off: with CINDER_READ_AHEAD=0 or with --threads 1. 0.9.6 and earlier have no read-ahead and no such part. The counts are slots of the block:

FieldMeaning
queued Qslots that the read-ahead gave to the I/O pool
read Rof them, slots that the I/O pool read before the block ended
skipped Sof them, slots that the I/O pool did not read, because the block loaded the slot first
used Uof them, slots that the block loaded after the read-ahead queued them
hit Hof the used slots, the slots that the I/O pool read before the block loaded them. The block found these slots in the cache
dropped Dslots of a run that the read-ahead did not queue, because the block reached its limit of 4 096 slots

The sroot part is the streaming state root:

FieldMeaning
new or oldnew: the stream ran for this block. old: the node used only the old path, for example with CINDER_SROOT=0
tail T msfrom the end of the last transaction to the root
upd Uwrite-log entries that execution published
nodes Ntrie nodes that the coordinator thread resolved
loaded Otrie nodes that the stream read from the database
wait V msthe time the coordinator waited for its reads
busy C msthe CPU time of the coordinator
fallback 01: the old path computed the root, because the stream failed, missed the header's root or did not finish in time

Before the sroot part, a line can show the root path:

SuffixMeaning
(none)the parent is the database head. The root comes from the block's own execution state
, root over ancestors' nodesthe parent is not written yet. The root uses the trie nodes that the unwritten ancestors changed, from memory
, root replaying ancestorsthe slower path: the ancestors' diffs applied again over the database
, root over ancestors' nodes failed, replayedthe fast path failed and the node used the replay path. The result is still correct

Healthy values ​

WhatSeen on mainnetNotes
statusVALID on every blockINVALID on a canonical block is a bug. Report it
(TOTAL ms)median 50dedicated server, the A/B of 2026-10-13, blocks with the streaming root, the executing-thread core and the kept memory. Before these changes: median 58. The value follows the blocks and the machine's load
execmedian 44 msthe same A/B. On the desktop, 55 to 102 ms, of it 21 to 48 ms read wait
rootabout 4 to 5 ms by medianthe same A/B. 10 to 11 ms with the old path
sroot ... tailmedian 4.4 msthe A/B of the streaming root alone. 10.8 ms with the old path
sroot ... fallback00 fallbacks in the A/B. Each fallback costs the time of a second root
reads RNabout 170 to 230 per blockin A/B runs after the bytecode cache and the second prewarm pass
miss root, trie nodesabout 1 200 per blockafter the root's prefetch filled the node cache
heldabout half of txsabout 138 transactions per block in one run
root pathparent written, or "over ancestors' nodes"the fallback ("failed, replayed") was 0 times in the measurements

sroot ​

Every 100 executed blocks, the node writes a summary of the streaming state root:

sroot: B blocks, new S, fallback F, tree nodes in memory N (bytes M)

Healthy: new equal to B, and fallback 0. A fallback is not an error: the old path gives the correct root. Many fallbacks show a problem. Read Troubleshooting.

engine loop ​

engine loop: persist due P ms, trim T ms

Between requests, the engine thread gives due blocks to the writer and gives memory back. The node writes this line only when that took more than 1 ms. A payload that comes during this time waits (#43).

A block on an unwritten parent is slower than a block on the database head. In one desktop window (2026-10-05), these blocks took 156 ms against 110 ms. They run while the writer writes on the same disk (#32).

forkchoice ​

Each engine_forkchoiceUpdated call writes one line:

forkchoice  head 0xHASH: VALID (in memory M, persisted #P) (T ms)
FieldMeaning
head 0xHASHthe head that the consensus client asked for
statusVALID, INVALID or SYNCING. SYNCING means that the node does not have the head yet
in memory Mblocks in the in-memory block tree
persisted #Pthe database head: the last block that the writer wrote
(T ms)time to answer. The block write happens after the answer, so this is usually near 0 ms. A head off the batch that the writer writes makes the call wait for the writer

A VALID line can come before a -38002 error (invalid forkchoice state). The node writes the line before it checks the safe and finalized blocks.

Healthy: VALID, and persisted #P a few blocks below the head at most. When more than 4 canonical blocks deeper than the persist depth are not written yet, newPayload waits for the writer. Forks do not count. A persisted #P that stays far below the head, or a SYNCING that does not stop, is a problem. Read Troubleshooting.

written ​

The writer thread writes blocks in the background. Each finished batch writes one line:

written     #F..#L (B blocks, T ms, in the background)
FieldMeaning
#F..#Lthe first and the last block of the batch
B blocksblocks in the batch (one database transaction, one durable commit)
T msthe time to write the batch

Healthy at the chain head: about 1 block per batch. A batch took 8 to 10 seconds on the desktop and 0.93 seconds on average on the dedicated server. For the wait of the next block, read Writing blocks. When the node is behind, a batch holds a few blocks. A new block waits for the writer when more than 4 blocks are not written. A batch has at most 64 blocks.

build ​

When a forkchoiceUpdated call has payload attributes, the node builds a block and writes one line. engine_getPayload can build the block again with the newer pool transactions:

build       #N 0xHASH txs T blobs B gas GM (MS ms)
build       #N 0xHASH txs T blobs B gas GM again at getPayload (MS ms): better, kept
build       on : failed (RC)

txpool ​

With --p2p, the mempool prewarm on and the cache on, the node writes this line every 60 seconds. The counters start at 0 when the node starts.

txpool: A admitted (R replaced), J rejected: nonce too low N, no funds F, undecodable U, pool rules P, other O; kept unchecked K
txpool: latest other rejection: TEXT
FieldMeaning
admittedgossiped transactions that passed reth's admission checks
replacedpool transactions replaced by a transaction with higher fees
rejected and the reasonstransactions that failed the checks. They leave the pool
kept uncheckedtransactions that got "nonce too low" on the database head while the node could not read the new branch after a reorg. They stay in the pool, and the node checks them again on the new branch. See Transactions from peers. 0.9.6 and earlier did not show this field (#281)
latest other rejectionthe text of the last rejection in "other". Only when "other" is above 0

Healthy: the node admits most of the gossiped transactions. Most of the rest are already mined (nonce too low) or have no funds.

warm ​

The mempool prewarm runs pool transactions on the head state between blocks. With --p2p and the cache on, the node writes this line every 60 seconds. The counters start at 0 when the node starts.

warm: R rounds, T txs, K keys, M ms; pool A announced, F full; cache hits accounts X%, slots Y%, nodes Z%
FieldMeaning
rounds, txs, keys, msprewarm rounds, transactions run, state keys read and the time spent
pool A announced, F fullhashes that peers announced, and full transactions the pool received
cache hitshit rates of the cross-block cache for accounts, slots and trie nodes

--no-warm turns the mempool prewarm off. The warm and txpool lines then do not show.

p2p ​

With --p2p, the P2P thread writes lines that start with p2p:.

LineMeaning
p2p: N peers (I inbound; A accepted, F failed handshakes), S requests served; dials D: ...; backoff ...; K skipped; G good nodesevery 60 seconds. The line shows the connected peers, the inbound peers and the requests that the node answered. Then it shows the outbound dials by result and the nodes in backoff by reason. At the end, it shows the dials that a backoff stopped and the nodes that served blocks before
p2p: peer ADDR CLIENT eth/V enode://...a new outbound peer
p2p: inbound peer IP CLIENT eth/Va new inbound peer. The line shows the IP address only, with no port and no enode
p2p: dropping CLIENT (REASON)the node dropped a peer, for example after a failed fetch or a failed read
p2p: dns: N nodesnodes from the mainnet DNS node list, at most every 30 minutes
p2p: discovery: N nodes (F found: ... same fork, ... without eth entry, ... without ENR answer, ... other fork; ... in backoff; ... good first)the dial candidates after a crawl, by the fork id in their ENR and by backoff
p2p: inbound A failed: REASONan inbound connection that failed the handshake (the first 50 only)
p2p: target #Nthe head the node fetches toward
p2p: fetched #A..#B in T msblocks fetched from a peer
p2p backfill: #N (P peers)every 100 blocks while the node fetches missing blocks
p2p: cannot listen on port P: inbound peers disabledthe TCP port is in use. Only outbound peers work
p2p: UDP port P busy: discovery from a random portthe UDP port is in use
p2p: block #N is of a fork this version does not implement: fetching stops before itthe consensus client's head is a block of the Amsterdam fork. The catch-up fetches the blocks before block N and then stops. Read Unsupported forks

Healthy: peers grow toward the limits (100 outbound and 30 inbound by default, as reth), and the node replaces dropped peers. Most mainnet nodes are full, so the count grows slowly after a start. Many "too many peers" and unreachable dials are normal on mainnet. 0 inbound peers for a long time shows a closed P2P port. Read No peers.

Error lines ​

These lines go to standard error.

LineMeaning
p2p #N: INVALID ..., p2p #N: SYNCING ..., p2p #N: engine errora block from a peer did not import. The node pauses the P2P import for 10 seconds
exec isolation: ...the executing thread has a core of its own (a start line, not an error)
cn_chain: block N: root over the ancestors' nodes failed (RC), replayingthe fast root path failed. The replay path decides the result
cn_chain: block N: the streamed state root ...the streamed root differs from the old path's root. The old path decides. Read Troubleshooting
cn_chain: fork at block N cannot be followed (no undo record)the fork base is inside the 128-block undo window, but an undo record that the node needs is not in the database. The node answers SYNCING. A fork deeper than the window also causes SYNCING, but without this line
Amsterdam fork at block N is not supported by this version; upgradethe node refused a block of the Amsterdam fork, or an Engine API method of that fork. It writes this line one time for each refused block. Read Unsupported forks
writing blocks to the database failedthe writer failed. The node stops. Read Troubleshooting

The stop line stopping: writing in-memory canonical blocks goes to standard output. It shows a normal stop. Read Stopping safely.

Resources ​

To compare Cinder with reth on one machine, the project uses these sources:

  • CPU: utime + stime from /proc/PID/stat at the start and the end of a window.
  • Memory: Rss and Anonymous from /proc/PID/smaps_rollup. Resident memory includes database pages that the kernel maps in and can drop. Anonymous memory is what the process allocated.
  • Disk size: the size of the database file, or the used space of its partition. du over a large database reads the disk and slows a measured node.
  • Disk writes: write_bytes in /proc/PID/io and the counters of the device in /proc/diskstats.
  • reth's latency: the reth_engine_rpc_new_payload_v4 metric, sum and count over the same seconds.

Disk writes ​

At the chain head, Cinder writes about 65.2 MB per block to the disk, and reth 2.7 about 20.4 MB (written to the device, live on mainnet on 2026-10-16, #59). Almost all of Cinder's bytes are copies of database pages: MDBX copies each changed page and the path to the root of its B-tree. The disk can reach 100% busy for short times after each commit. Use an SSD, and do not put other heavy jobs on the same disk.

The node names its worker threads (cn-pool, cn-prewarm, cn-io, cn-pfio, cn-sroot, cn-writer, cn-warm), so top -H shows where the CPU goes.

Console dashboards ​

The repository has console tools in tools/measure that compare Cinder with reth on live blocks. They read the log of cinder-mirror (--log FILE, one line for each node and block), the engine logs of the Cinder nodes and /proc. They are for a machine that runs reth and Cinder behind cinder-mirror for a comparison (read Engine mode and shadow mode).

ToolWhat it showsNeeds
dash.pya dashboard that refreshes each second: the time of each node per block, Cinder minus reth, peers, CPU, memory and disk of each process. --once prints one snapshot as textPython 3 only
live.pythe blocks as they arrive, a race of reth and Cinder on each block, the statistics and the resourcesthe rich package
show.pya view for a demonstration. It shows the speed of each node and a JSON-RPC arena: the same requests on fresh blocks to both nodes. It also shows the CPUs by NUMA node and a heat map of Cinder minus reththe rich package
rpcdemo.pythe same heavy JSON-RPC requests to reth and Cinder, with the time of each node and a check that the answers are equalPython 3 only

The first three tools take the same options:

OptionMeaning
--mirror FILEthe log of cinder-mirror. Required
--engine-log NODE=FILEthe engine log of a Cinder node, for gas, execution and root times and peers. Give it once for each node
--proc NAME=TEXTthe process whose command line contains TEXT, for CPU, memory and disk I/O. The tool finds the process again after a restart
--disk NAME=DIRthe database file or the partition of a node, for its size
--rpc NAME=URLthe JSON-RPC URL of a node. The tool asks for net_peerCount every 5 seconds
--since-block Nleave out the blocks below N from the statistics, for example the blocks before a restart (dash.py and live.py)

show.py also takes --race-reth URL, --race-cinder URL and --race-every SECONDS for the JSON-RPC arena, and --node-label NODE=TEXT to name a NUMA node. rpcdemo.py takes --reth URL, --cinder URL, --rounds N and --vm (also replay with vmTrace).

bash
python3 tools/measure/dash.py --mirror MIRROR_LOG \
    --engine-log cinder=ENGINE_LOG --proc reth=reth --proc cinder=cinder \
    --rpc reth=RETH_RPC_URL --rpc cinder=CINDER_RPC_URL

To read the I/O of a process of a different user, run the tool with sudo. The output of these tools is for a person at a console. The log format can change.