Difference between revisions of "SUNScholar/Optimisations/Tomcat"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
==Optimisations Tomcat== | ==Optimisations Tomcat== | ||
See: http://www.turnkeylinux.org/tomcat | See: http://www.turnkeylinux.org/tomcat | ||
| − | ===mod_jk=== | + | ===Apache mod_jk module=== |
*Remove "mod_jk", use "authbind" exclusively with no need of the Tomcat AJP connector in order to reduce the CPU and memory load | *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 | http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05 | ||
| − | ===Lookups=== | + | ===DNS Lookups=== |
Added the following to '''/etc/tomcat6/server.xml". | Added the following to '''/etc/tomcat6/server.xml". | ||
enableLookups="false" | enableLookups="false" | ||
Revision as of 12:51, 27 January 2014
Back to Optimisations
Optimisations Tomcat
See: http://www.turnkeylinux.org/tomcat
Apache mod_jk module
- 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
DNS Lookups
Added the following to /etc/tomcat6/server.xml".
enableLookups="false"
Remove "development mode" of Tomcat by adding the above to reduce DNS lookups.
Http Header
Added the following to /etc/tomcat6/server.xml".
maxHttpHeaderSize="16384"
This stopped excessive header size errors.