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

Upgrade to Solr 7.3.0 #4579

Closed
djbrooke opened this issue Apr 10, 2018 · 4 comments
Closed

Upgrade to Solr 7.3.0 #4579

djbrooke opened this issue Apr 10, 2018 · 4 comments
Assignees

Comments

@djbrooke
Copy link
Contributor

Solr 7.3.0 was released recently. Since we've not yet cut the release (4.9) that includes our last Solr upgrade (#4158), let's upgrade to the newest version.

@matthew-a-dunlap
Copy link
Contributor

Update was confirmed working normally as well as in vagrant and docker-aio.

@kcondon
Copy link
Contributor

kcondon commented Apr 30, 2018

Solr start message warns about dramatically increasing file descriptors and processes. This did not happen in 7.2.1. This may require a tweak to solr init script:

solr-7.3.0]$ bin/solr start
*** [WARN] *** Your open file limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
*** [WARN] *** Your Max Processes Limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Warning: Available entropy is low. As a result, use of the UUIDField, SSL, or any other features that require
RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'.

Waiting up to 180 seconds to see Solr running on port 8983 []
Started Solr server on port 8983 (pid=3731). Happy searching!

I edit /etc/init.d/solr and added:

# increase file descriptors per solr 7.3.0 doc
  ulimit -n 65000

I ended up editing /etc/security/limits.conf
solr soft nproc 63000

Because my system seems to have a max process limit of 63705, I stayed at 63000.

At first I tried putting both settings in either init.d/solr or limits.conf but they only worked when I split them as above. Not sure why but likely something to do with running init as root but sudoing as solr to start job.

@kcondon kcondon reopened this Apr 30, 2018
@kcondon kcondon removed their assignment Apr 30, 2018
@pdurbin
Copy link
Member

pdurbin commented May 1, 2018

@kcondon as we discussed at standup I just merged the latest from develop (including the merged Solr 7.3.0 upgrade) into my metrics branch and deployed it (4527-metrics-api-900973b) to the server we talked about.

@kcondon kcondon mentioned this issue May 1, 2018
5 tasks
@dlmurphy dlmurphy assigned dlmurphy and unassigned dlmurphy May 1, 2018
@kcondon kcondon self-assigned this May 1, 2018
@kcondon kcondon closed this as completed May 1, 2018
@kcondon kcondon removed the Status: QA label May 1, 2018
@kcondon
Copy link
Contributor

kcondon commented May 2, 2018

index all took 14 hours for prod copy:
4472 dataverses and 81744 datasets indexed. index all took 50754458 milliseconds. Solr index was not cleared before indexing.

Solr index was cleared before indexing, despite message.

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

6 participants