AGS_SERVER_SOCKET_RESERVE

AcuServer depends on the select() system call to determine when a client is requesting services. On most UNIX machines, this call requires an array of socket identifiers on which to await results. If this array is sparse, select() can take more time than is necessary.

To address this issue, set AGS_SERVER_SOCKET_RESERVE to a positive integer to reserve that many socket handles for exclusive use with clients. This allows select() to be more efficient, and it allows UNIX machines that allow more open files than open sockets to reserve socket identifiers with low values.

Note that this variable is valid only on UNIX servers, and that the variable must be set no larger than the size of the array used in the call to SELECT. To determine the maximum value, use the command acuserve -vv.