Skip to content

When searching the tree, increase the time before querying for items #5342

@dkuji

Description

@dkuji

Hi.
We are running a very large Cacti server. (Devices: over 1,000, Graphs: over 14,000)

OS: RockyLinux8.6
Cacti: 1.2.21
CPU: 12core
Memory: 32GB

It takes a very long time to search for a graph by entering a tree name or graph name from the Graph tab screen of the WebUI. (More than 100 seconds, I have confirmed that I have enough cpu and memory at this time).

However, if the device name is copied and pasted, it takes only a few seconds to complete the search.

I checked from Chrome's developer tools, and it looks like the search process is executed while typing with the following request.

graph_view.php?action=ajax_search&str=<input string>

I believe this is the cause.

Is there any way to disable the search while typing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourenhancementGeneral tag for an enhancementporting requiredRequires porting to developresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions