Skip to content

ESGF_Best_Practices

Luca Cinquini edited this page Jul 22, 2014 · 8 revisions

ESGF Node Administrator Best Practices

This document collects some of the recommended best practices for configuring and operating an ESGF Node.

Tomcat

  • Run Tomcat with extended memory, if available. Tomcat settings can be configured by inserting the following lines in the file /etc/esg.env:

    • export JAVA_OPTS='-Xmx2048m -Xms1024m -XX:MaxPermSize=1024m'
  • Run Tomcat with SSL debug turned on, but only when trying to solve a security issue, otherwise the output is too verbose. In file /etc/esg.env:

    • export CATALINA_OPTS=-Djavax.net.debug=ssl

Solr

  • Run Jetty (the Solr container) with extended memory, if available. For example, insert the following line in the file /etc/esg.env:

    • export SOLR_JAVA_OPTS_='-Xmx1024m -Xms512m -XX:MaxPermSize=512m'
      (these settings will be applied upon restart to the local master and slave Solr, as well as to all deployed replica shards)
  • Optimizing the Solr index (i.e. reducing the number of its fragments) will boost the search performance at the local Node.

Clone this wiki locally