Books AcuServer User's Guide
Version 7.2

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".


Acucorp, Inc.
Voice: 800.262.6585 (U.S.A. and Canada)
Voice: 858.689.4500
Fax: 858.689.4550
Please share your comments on this manual
or on any Acucorp documentation with the
Acucorp Communications Department.