Configuring the Daemon for High Availability
5-4 Oracle Application Server Adapter for IMS/TM User’s Guide
■The other modes can be set so that the server processes are reusable by setting the
number of times a process can be reused with the Reuse limit value (the maximum
number of times a particular server process can be reused or how many clients it
can serve before it is retired). Reuse of servers enhances performance because it
eliminates the need to repeat initializations. However, reuse runs a risk of higher
memory leakage over time. The default for the Reuse limit field value is None,
indicating that no reuse limit is enforced.
Set the server mode in the WS Server tab of the daemon workspace editor, as shown in
the following figure:
Figure 5–3 The WS Server tab
When using any of the server modes you can specify a pool of server processes. These
server processes are started when the daemon starts and are maintained in a pool. The
server processes are available for use by new client requests from the pool, saving
initialization time.
Instead of starting a new server process each time one is requested by a client, the
client receives a process immediately from the pool of available processes. When the
client finishes processing, this server process either dies, or if reusable servers have
been specified, it is returned to the pool.
You set up a pool of server processes by specifying the following parameters in the WS
Server tab.
■Initial number of servers: The number of server processes that are prestarted for
this workspace when the daemon starts up. These are available for use by new
client processes with minimal initialization time. Instead of starting a new server
process each time one is requested by a client, the daemon immediately allocates
(to the client) a server from a pool of available servers. When the number of
available server processes drops lower than the value specified in the Minimum
number of available servers field, the daemon again starts server processes until
the specified number of available servers is reached. The default for this parameter
is 0, meaning that no servers are prestarted for this workspace.
■Minimum number of available servers: The minimum number of server processes
in the prestarted server's pool before the Oracle Connect daemon resumes creating
new server processes (up to the number specified in the Initial number of servers
field value, described earlier). If this parameter is set to a value greater than that of
the Initial number of servers field value, the daemon considers the value to be the
same as the value specified in the Initial number of servers field. In this case, a
new server process is started and added to the pool each time a server process is