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

Cache preheating #594

Open
raphpa opened this issue Dec 26, 2024 · 2 comments
Open

Cache preheating #594

raphpa opened this issue Dec 26, 2024 · 2 comments

Comments

@raphpa
Copy link

raphpa commented Dec 26, 2024

How long is the cache preheating supposed to take?

On 0.21.1 with about 2.8M points.

After a restart I have 4 Sidekiq jobs Cache::PreheatingJob running, taking quite some CPU and about 2-3 GB of RAM. After about 30 minutes it got killed, probably due to RAM usage, and started again 4 Cache::PreheatingJob jobs.
Since no further log output is generated, I can't really tell what or if they are doing anything.

It seems that this is not working correctly in my setup, went back to 0.20.0 for now.

@raphpa
Copy link
Author

raphpa commented Dec 30, 2024

It seems that it is trying to pre-cache everything. Which is a way too big task on my dataset.
Would you mind adding an option to disable cache preheating?

@Freika
Copy link
Owner

Freika commented Jan 1, 2025

@raphpa I'll see what I can do in the next release, hopefully in the next 2-3 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants