Skip to content

RRD storage paths do not scale properly #4533

@TheWitness

Description

@TheWitness

Describe the bug

On large systems with over 1M RRDfiles, it's very difficult to restructure paths and keep polling operational at the same time. The current CLI script first disables polling, then restructures the paths one at a time which is arguably too slow. Additionally, if you have 20k+ hosts, you still end up with a directory of over 20k files, which though not as bad, is still excessive.

To Reproduce

Steps to reproduce the behavior:

  1. Create a system with 1.7M RRDfiles and over 20k hosts

  2. Allow all RRDfiles to be created in the RRA directory

  3. Attempt to "structure the RRDfile paths"

  4. See error

Expected behavior

Cacti should be able to execute this process with no downtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    boostBoost related issueenhancementGeneral tag for an enhancementresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions