Skip to content

Large system performance negatively impacted due to $spikekill_templates behavior #4086

@TheWitness

Description

@TheWitness

Describe the bug

On very large systems with excess of 1M graphs, the setting to calculate the number of Graph Templates available for killing spikes can take several seconds to calculate. Therefore, re-calculating it for every page load slows the user interface appreciably.

Expected behavior

Cacti should only calculate these template values when on the settings page, and should cache it as well so as to not impact the user experience more than is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourperformancePerformance related affects big sitesresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions