Difference between revisions of "SUNScholar/Optimisations/Tomcat"
Jump to navigation
Jump to search
| Line 9: | Line 9: | ||
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=== | ===Lookups=== | ||
| − | + | Added the following to '''/etc/tomcat6/server.xml". | |
enableLookups="false" | enableLookups="false" | ||
| + | Remove "development mode" of Tomcat by adding the above to reduce DNS lookups. | ||
===Http Header=== | ===Http Header=== | ||
Added the following to '''/etc/tomcat6/server.xml". | Added the following to '''/etc/tomcat6/server.xml". | ||
maxHttpHeaderSize="16384" | maxHttpHeaderSize="16384" | ||
This stopped excessive header size errors. | This stopped excessive header size errors. | ||
Revision as of 12:47, 27 January 2014
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
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.