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

Long search queries cause Haystack/Elastic error #1049

Open
antidipyramid opened this issue Dec 14, 2023 · 2 comments
Open

Long search queries cause Haystack/Elastic error #1049

antidipyramid opened this issue Dec 14, 2023 · 2 comments

Comments

@antidipyramid
Copy link
Collaborator

antidipyramid commented Dec 14, 2023

Screen Shot 2023-12-14 at 11 21 59 AM

It seems like this is usually caused by Elastic running out of memory (or at least, it thinks its running out of memory). Example query: Executive Management Committee File Career Pathways.

Some observations:

  • this can be replicated locally and on Heroku
  • on Heroku we've not even used 1/4 of the available disk space

Since this happens when a search is executed, I suspect this is caused by inefficient queries.

@antidipyramid
Copy link
Collaborator Author

It looks like I can no longer replicate the error with the search string Executive Management Committee File Career Pathways.

We'll keep this one open for a little while in case it resurfaces as January traffic to the site picks up.

@antidipyramid
Copy link
Collaborator Author

2/2 update: For some reason, I can again replicate this error on long search strings. After some testing, it seems like these errors coincide with memory leak-like behavior on the server. We've updated the server to try to mitigate this issue in #1072.

@antidipyramid antidipyramid moved this from 📝 In Progress to 📥 Backlog in boardagendas.metro.net - Monthly priorities Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant