
Copyright © 2001, 2015, Oracle and/or its affiliates. All rights reserved.
Web Server
Simultaneous Users
If your installation is going to have a large number of simultaneous users it may be necessary to tune
some Oracle HTTP Server and Tomcat settings. It is necessary to do performance testing and
monitoring in order to tune these settings for an Oracle Transportation Management installation.
Depending on the volume of users and the type of activity performed by these users it may also be
necessary to setup additional webserver instances.
1. maxThreads in <OTM_INSTALL_DIR>/tomcat/conf/server.xml:
The maximum number of request processing threads to be created by this connector, which therefore
determines the maximum number of simultaneous requests that can be handled. If not specified, this
attribute is set to 200. If an executor is associated with this connector, this attribute is ignored as the
connector will execute tasks using the executor rather than an internal thread pool.
For example:
<Connector address="localhost" port="8009" protocol="HTTP/1.1"
maxThreads=="1000" connectionTimeout="3600000"
URIEncoding="UTF-8" />
2. Change MaxClients in <ohs_install_dir>/Oracle_WT1/instances/<instance
name>/config/OHS/<component_name>/httpd.conf
The following properties in the httpd.conf file control the number processes/threads that will be
created within Tomcat. Connection attempts beyond these limits will normally be queued, up to a
number based on the “ListenBacklog” directive.
For example:
# StartServers: number of server processes to start
# MaxClients: maximum number of server processes allowed to start
# MinSpareThreads: minimum number of threads which are kept spare
# MaxSpareThreads: maximum number of threads which are kept spare
# ThreadsPerChild: number of threads per server process
# ServerLimit: maximum number of server processes
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 10
ServerLimit 40
MaxClients 1000
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
See the documentation for Oracle HTTP Server for more information on these configuration settings.
Kommentare zu diesen Handbüchern