-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Delete By Query under heavy indexing load causes OOM errors #6025
Comments
It appears that we are experiencing segment explosion issues during these times and are seeing queues in the merge thread pool. For now we are working around this issue by backing off on bulk index when merges fall behind in our indexing jobs. It looks like this issue is also being worked on in #6066 |
Fixed by #6066 |
Alas, deleteByQuery is not throttled when merges are falling behind. |
I'll make this operation throttled like we do for index/create ops. However I'm doubtful this is "enough" to always prevent segment explosion, i.e. #7052 is a better (trickier) long term solution. |
@mikemccand can we close this? |
Yeah, I'll close it ... I think you can still easily provoke OOME on 1.6, but in 2.0 we are switching to a plugin that runs scan/scroll query and then bulk delete the resulting IDs, which does fix it. |
Hello,
We are running an ES 1.1.1 cluster and when we bulk index into it with a high write load we have found that it can trigger OOM errors if we run deletebyquery calls. The symptoms of the problems appears to be the following:
Please let me know if there are any other info I can provide that may be helpful.
The text was updated successfully, but these errors were encountered: