Prespawning TimesTen Server Processes in TimesTen

Each TimesTen client connection requires one server process. By default, a server process is spawned when a client requests a connection.

In TimesTen, you can prespawn a pool of reserve server processes by setting the server_pool attribute in the timesten.conf file on the server system. These server processes are immediately available for a client connection, which improves client/server connection performance.

The server_pool=number attribute in the timesten.conf file on the server system tells the TimesTen server to create number processes. If this option is not specified, no processes are prespawned and kept in the reserve pool.

When a new connection is requested, if there are no items in the server pool, a new process is spawned, as long as you have not met the operating system limit.

If you request more process than allowed by your operating system, a warning is returned. Regardless of the number of processes requested, an error does not occur unless a client requests a connection when no more are available on the system, even if there are no processes remaining in the reserve pool.

Changes to the TimesTen server take effect when the server is restarted.