-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
RRD storage paths do not scale properly #4533
Labels
Milestone
Comments
TheWitness
added
bug
Undesired behaviour
enhancement
General tag for an enhancement
labels
Jan 24, 2022
This was the first script for Cacti I originally wrote in 2006. Times are changing... |
or was in 2005? I don't know. 🙄🤔😅 |
Where's my cane 😂 |
I've bumped this one to 1.2.22 as it's material for me right now. |
TheWitness
added a commit
that referenced
this issue
Aug 7, 2022
This change adds two features, and corrects some minor bugs: * issue#4880: The MySQL get_lock() function can lead to stalled boost and dsstats processes * issue#4882: Under rare conditions the boost process can get hung until the poller times out * feature#4533: Restructuring RRDfile paths takes too long on large systems and will stop polling for potentially several hours * feature#4881: When boost is running, it's not clear which processes are running and how long they have to complete
TheWitness
added a commit
that referenced
this issue
Aug 7, 2022
TheWitness
added a commit
that referenced
this issue
Aug 9, 2022
- In my case, I would still have too many base directories. So, this change will add a third possible level to spread out files within the file system.
netniV
changed the title
Restructuring RRDfile paths takes too long on large systems and will stop polling for potentially several hours
RRD storage paths do not scale properly
Aug 14, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
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:
Create a system with 1.7M RRDfiles and over 20k hosts
Allow all RRDfiles to be created in the RRA directory
Attempt to "structure the RRDfile paths"
See error
Expected behavior
Cacti should be able to execute this process with no downtime.
The text was updated successfully, but these errors were encountered: