Previous Topic: HTTP Connection Parameters

Next Topic: Resolve Differences in Cookie Specification for Different Version of Tomcat

Tomcat Tuning Parameters in the server.conf File

A Tomcat server is embedded in the SPS. The Tomcat server provides a servlet container and servlet engine.

The following excerpt is from the Tomcat tuning section in the server.conf file:

#Define AJP13 tuning parameters
	#Number of request waiting in queue (queue length)
	#Number of threads created at initialization time
	#Maximum number of concurrent connections possible
	worker.ajp13.accept_count=10
	worker.ajp13.min_spare_threads=10
	worker.ajp13.max_threads=100
	worker.apj13.connection_pool_timeout=0
	worker.apj13.max_packet_size=8192

The Tomcat tuning directives are listed following.

worker.ajp13.accept_count

Defines the number of requests waiting in the queue when all possible request processing threads are in use. Any requests received when the queue is filled are refused.

Default: 10

worker.ajp13.min_spare_threads

Defines the minimum number of idle threads at any time, waiting for new requests to arrive. min_spare_threads must be greater than 0.

Default: 10

worker.ajp13.max_threads

Defines the maximum number of concurrent connections possible, the pool will not create more than this number of threads.

Default: 100

worker.apj13.connection_pool_timeout

Defines the maximum time (in seconds) that the idle connections (between apache and tomcat over mod-jk) remain in the connection pool before timing out. The default is zero, which means that connections never timeout.

Default: 0

worker.ajp13.max_packet_size

Defines the maximum packet size in Bytes. The maximum value is 65536

Default: 8192