Identifies the maximum number of clients that you can connect to this Open Server application.
MaxConnections=integer
1–5000
42
Commas are not allowed.
This value must accommodate the MaxSvcConnections for all the access services operating on the same server.
(UNIX only). In UNIX, this property prevents your system from crashing, as a result of running out of UNIX file descriptors.
The following formulas are to be used to determine the MaxConnections server.cfg value and the file descriptor setting, in UNIX, for the DirectConnect process.
MaxConnections = (((max file descriptors per process /1.10) - 50) /3)
where:
max file descriptors per process equals the limit in UNIX.
This limit is determined by your UNIX administrator and found by using the ulimit -a utility to determine the number of file decriptors that are configured in your UNIX environment for your DirectConnect process. To obtain this information, you must be logged in as the user, have permission to start DirectConnect, and must set the environment variables for DirectConnect to run.
1.10 equals a 10% safety factor to build in extra descriptors.
50 equals the number of file descriptors reserved for the DirectConnect server.
3 equals the number of file decriptors that could potentially be used by each concurrent client connection to DirectConnect.
Example:
(((2000 file descriptors /1.10) - 50) / 3) = 589 (fractional part is truncated)
In this example, MaxConnections will be configured to a maximum of 589 or less. If the number of connections needs to be greater due to the number of users using DirectConnect at a peak time, use the following formula to determine the correct number of file descriptors that your UNIX administrator will configure for the DirectConnect process:
File descriptors = (((MaxConnections desired) x 3) + 50) x 1.10
where:
3 equals the number of file decriptors that could potentially be used by each concurrent client connection to DirectConnect.
50 equals the number of file descriptors reserved for the DirectConnect server.
1.10 equals a 10% safety factor to build in extra descriptors.
In the previous example, if the file descriptors constrained the calculated number of MaxConnections to 589 and you need 1000 connections, perform the following calculation:
(((1000 MaxConnections desired x 3) + 50) x 1.10) = 3355 (file descriptors)
In this example, the calculated 3355 file descriptors will provide you with enough file descriptors to handle your desired number of concurrent connections (1000) for your DirectConnect process. To meet this requirement, your UNIX administrator needs to increase the number of file descriptors available for the DirectConnect process.