SUNScholar/Optimisations/Tomcat

From Libopedia
Revision as of 12:46, 27 January 2014 by Hgibson (talk | contribs)
Jump to navigation Jump to search
Back to Optimisations

Optimisations Tomcat

See: http://www.turnkeylinux.org/tomcat

mod_jk

  • Remove "mod_jk", use "authbind" exclusively with no need of the Tomcat AJP connector in order to reduce the CPU and memory load
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05

Lookups

  • Remove "development mode" of Tomcat by adding the following to the server context in order to reduce DNS lookups.
enableLookups="false"

Http Header

Added the following to /etc/tomcat6/server.xml".

  maxHttpHeaderSize="16384"

This stopped excessive header size errors.