Show
Ignore:
Timestamp:
06.03.2017 23:18:24 (3 years ago)
Author:
davidb
Message:

Adjustment to run solr with more memory

Location:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-solr-start-all.sh

    r31373 r31465  
    11#!/bin/bash 
    22 
     3solr_cmd=${1-start} 
    34 
    45if [ "x$SOLR_SHARDS" != "x" ] ; then 
     
    2324    #export SOLR_PID_DIR="$solr_home_shard_dir" 
    2425    echo "Starting solr cloud node on: $solr_host:$solr_port solr_home=$solr_home_shard_dir" 
    25     ssh $solr_host solr start -cloud -z $ZOOKEEPER_SERVER -h $solr_host -p $solr_port -d "$server_dir" -s "$solr_home_shard_dir" 
     26    if [ "x$SOLR_JAVA_MEM" != "x" ] ; then 
     27        echo "=> SOLR_JAVA_MEM=$SOLR_JAVA_MEM" 
     28    fi 
     29    ssh $solr_host solr $solr_cmd -cloud -z $ZOOKEEPER_SERVER -h $solr_host -p $solr_port -d "$server_dir" -s "$solr_home_shard_dir" 
    2630 
    2731    i=$((i+1)) 
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SETUP.bash

    r31373 r31465  
    1818  export SOLR_SHARDS="/disk0/solr-full-ef /disk1/solr-full-ef /disk2/solr-full-ef /disk3/solr-full-ef /disk4/solr-full-ef" 
    1919  export SOLR_SHARDS="$SOLR_SHARDS /disk0/solr-full-ef /disk1/solr-full-ef /disk2/solr-full-ef /disk3/solr-full-ef /disk4/solr-full-ef" 
     20 
     21  export SOLR_JAVA_MEM="-Xms10g -Xmx15g"   
     22 
    2023else 
    2124  export ZOOKEEPER_SERVER=gchead:8181