Skip to content

RocksDB size continues to grow after node has finished syncing #77

@dancamarg0

Description

@dancamarg0

Description:

After syncing ~5 epochs on an Alpamayo instance (completed 5 days ago), RocksDB storage usage has continued to grow indefinitely, despite no new syncing activity.

Expected storage footprint for 5 epochs:

Blocks: ~4.70 TB

RocksDB: ~1.8–2 TB

Actual behavior:

RocksDB usage has steadily increased, with total disk usage rising from 66% → 79% in just 5 days.

Image

It seems Alpamayo’s RocksDB may not be compacting or pruning files correctly, causing unbounded growth even though storage.blocks.max has stayed the same 2160000 for 5 epochs.

Comments from Kirill in a separate conversation:

  • probably I can add http endpoint on metrics port to trigger compaction, wdyt?
  • I'm not sure how to trigger it now, usually compaction happened automatically after reaching some threshold (by default 10% iirc)

Impact:

RocksDB growth without bounds risks filling disks, even after syncing is complete.

This could make running Alpamayo unsustainable long-term without manual intervention.

Expected Behavior:
RocksDB should compact/prune automatically after syncing completes, maintaining a stable footprint close to the expected 1.8–2 TB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions