Task #8176
Story #8175: Solr crashing with out of memory error
Adjust memory allocated to Solr
Start date:
2017-09-05
Due date:
% Done:
100%
Milestone:
None
Product Version:
*
Story Points:
Sprint:
Description
Solr is currently configured with 2048M. Review and adjust this value to reduce likelihood of out of memory errors.
History
#1 Updated by Dave Vieglais over 7 years ago
As something of an emergency procedure, memory allocated to production Solr was increased from 2048M to 4096M by adjusting /var/solr/solr.in.sh:
...
SOLR_HEAP="4096m"
...
The free command showed several GB of memory free (besides that being used by disk cache) on each of the CNs before the change.
Note that the Debian package for Solr deployment on the CNs must be updated to persist this change.
After making the change, the Solr service appears to be handling load much better than previously without approaching 100% memory use.
#2 Updated by Dave Vieglais almost 7 years ago
- % Done changed from 30 to 100
- Status changed from In Progress to Closed