Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session performance issues due to excessive use for database storage #2998

Closed
cigamit opened this issue Oct 2, 2019 · 0 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue

Comments

@cigamit
Copy link
Member

cigamit commented Oct 2, 2019

Describe the bug
Some of Cacti API functions attempt to gain speed through the use of placing some variable data in the users login session. In some of those cases, it's overuse leads to very large session files, and therefore affects performance. In those cases, the best place for the Cacti is in the Database Engine itself an not on the file system.

The Cacti lib/variables.php function stores the entire host table for every host that you have acted on for the life of that session, which can include dated data. Therefore, not only is it's use of the session inappropriate, but can lead to bad data appearing on graphs.

As such the use of this caching method should be abandoned.

Expected behavior
Cacti should not cache the contents of the host table in it's entirety. This is especially true on very large systems.

@cigamit cigamit added the bug Undesired behaviour label Oct 2, 2019
cigamit added a commit that referenced this issue Oct 2, 2019
Session performance issues due to excessive use for database storage
@cigamit cigamit added the resolved A fixed issue label Oct 2, 2019
@cigamit cigamit closed this as completed Oct 12, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

1 participant