-
Notifications
You must be signed in to change notification settings - Fork 70
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
Disable Solr caches #758
Comments
- Addresses bcgov#758 Signed-off-by: Wade Barnes <wade@neoterictech.ca>
I created a search-engine image off #759 and smoke tested in |
Disabling the Solr caches had no effect. If anything the OOM restart issues became worse following the change, though this is just speculation and the increased number of issue could be attributed to query patterns and volume. Some metrics collected here; bcgov/orgbook-configurations#137 (comment). |
This actually helped reduce resource usage. It was actually unbound queries (#762) that were the main issue. |
As discussed some of the articles listed here caching is only useful when there are repeated queries for the same information, otherwise they can be detrimental to memory use. Queries in OrgBook tend to be random (Humans) or sequential (Spiders and Bots), so there are few, if any, cache hits. This could be, at least part of, the cause for the high memory usage we're seeing in
prod
.Try disabling the caches as recommended to see the impact on memory use.
This issue is related to the investigation happening here; bcgov/orgbook-configurations#137
The text was updated successfully, but these errors were encountered: