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

SOLR error: exceeded limit of maxWarmingSearchers=2 #118

Open
jakubklimek opened this issue Mar 20, 2017 · 1 comment
Open

SOLR error: exceeded limit of maxWarmingSearchers=2 #118

jakubklimek opened this issue Mar 20, 2017 · 1 comment

Comments

@jakubklimek
Copy link

When I load a large number of datasets with multiple processes using ckanapi like this:
ckanapi load datasets -I /data/ckan.jsonl.gz -z -p 4 -c /etc/ckan/testing/development.ini

Eventually, a Solr error is thrown:
ERROR [ckan.model.modification] Solr returned an error: (u'Solr responded with an error (HTTP 503): [Reason: Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.]',)

I could increase the number of WarmingSearchers in Solr or decrease the number of workers for the load, but IMHO the bigger issue here is whether it could be possible for bulk loading to have an option to commit to Solr only after loading all datasets, not one by one, as it still takes a long time this way (9 hours for 130k datasets to load using single worker)

@torfsen
Copy link
Contributor

torfsen commented Mar 20, 2017

Similar issue w.r.t. reindexing: ckan/ckan#3482.

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