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

Dev instance solr updater fails on startup and keeps respawning #793

Closed
hornc opened this issue Feb 10, 2018 · 0 comments
Closed

Dev instance solr updater fails on startup and keeps respawning #793

hornc opened this issue Feb 10, 2018 · 0 comments
Labels
Module: Solr Issues related to the configuration or use of the Solr subsystem. [managed]

Comments

@hornc
Copy link
Collaborator

hornc commented Feb 10, 2018

The Upstart conf for the scripts/new-solr-updater.py script is at:
openlibrary/conf/init/ol-solr-updater.conf
In the dev environment keeps starting the updater script, which fails with:

File "/openlibrary/openlibrary/solr/data_provider.py", line 134, in preload_metadata
    rows = self.ia_db.select('metadata',
AttributeError: 'NoneType' object has no attribute 'select'

and then respawns. It was consuming up to 50% - 60% of CPU on dev vm.

Relates to making progress on #628 and other SOLR related issues

@hornc hornc added 1-off tasks Module: Solr Issues related to the configuration or use of the Solr subsystem. [managed] and removed 1-off tasks labels Feb 10, 2018
mekarpeles added a commit that referenced this issue Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Solr Issues related to the configuration or use of the Solr subsystem. [managed]
Projects
None yet
Development

No branches or pull requests

1 participant