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

Troubleshoot Elasticsearch timeout issues #3972

Open
mbertrand opened this issue Apr 28, 2023 · 1 comment
Open

Troubleshoot Elasticsearch timeout issues #3972

mbertrand opened this issue Apr 28, 2023 · 1 comment
Assignees
Labels

Comments

@mbertrand
Copy link
Member

Steps to Reproduce

Elasticsearch timeouts were often occurring during a reindex. This was temporarily resolved by increasing the timeout from 10 seconds to 30. But it would be good to know why some requests need > 10 seconds to complete. Maybe the ES server was getting overwhelmed by too many requests (there are many for contentfiles in particular), or some requests are particularly large and take extra time to process.

Expected Behavior

Run a reindex on courses or all data, with a default timeout of 10 seconds, and complete successfully.

Actual Behavior

Reindex fails with intermittent timeouts, unless the default timeout is raised to 30 seconds.

@mbertrand mbertrand added the bug label Apr 28, 2023
@mbertrand mbertrand self-assigned this Apr 28, 2023
@mbertrand
Copy link
Member Author

mbertrand commented May 2, 2023

Increasing ELASTICSEARCH_DOCUMENT_INDEXING_CHUNK_SIZE from 20 to 75 on RC seemed to improve the odds of success with a default timeout of 10 seconds, but there was still a timeout error during 1 out of 4 reindex runs.

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

No branches or pull requests

1 participant