Home | Previous Page | Next Page   Configuring and Monitoring Dynamic Server > Configuration Parameters > NETTYPE >

Number of Connections

This field specifies the maximum number of connections per poll thread that can use this protocol at the same time. The default value of connections is 50. If only a few connections will be using a protocol concurrently, you might save memory by explicitly setting the estimated number of connections.

Use this formula to calculate the maximum number of connections expected. For shared memory (ipcshm), double the number of connections.

connections = max_connections / poll threads
UNIX Only

The following example specifies 3 poll threads and 20 connections for a total of 60 shared-memory connections.

NETTYPE ipcshm,3,20,CPU

For all net types other than ipcshm, the poll threads dynamically reallocate resources to support more connections, as needed. Avoid setting the value for the number of concurrent connections to much higher than you expect. Otherwise, you might waste system resources.

End of UNIX Only
Windows Only

On Windows, the number of connections per poll thread is used for ipcshm connections. Other protocols ignore this value. Use NET virtual processors to run the poll threads.

End of Windows Only
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]