Skip to content

Commit

Permalink
[solr8-staging] Install the JDK, not just the JRE
Browse files Browse the repository at this point in the history
This allows us to do two things related to memory troubleshooting:
1) Allows us to run jmap, which is part of these instructions:
   https://github.com/pulibrary/pul_solr?tab=readme-ov-file#heap-dump
2) Allows the oom_killer to automatically dump the heap by providing
   the jstack command, see
   https://solr.apache.org/guide/8_7/jvm-settings.html
  • Loading branch information
sandbergja committed May 28, 2024
1 parent 67a92a6 commit d8c852f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/solr8cloud/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ruby_version_override: "ruby-3.1.0"
solr_heap_setting: "20g"
# more granular option would be:
# solr_java_memory: '-Xms16g -Xmx20g'
java_type: jdk
solr_cloud_download_version: 8.4.1
solr_log4j_path: "/solr/log4j2.xml"
lib_zk1_host_name: lib-zk-staging1d
Expand Down

0 comments on commit d8c852f

Please sign in to comment.