The number of file descriptors per process is determined by the operating system parameter open_max. The default value of open_max is 4096. For more information on setting open_max, see the Compaq Tru64 operating system documentation.
To obtain the current value of the open_max parameter, use the Korn or Bourne shell ulimit command:
ulimit -n
Adaptive Server can use a maximum of 1024 file descriptors, regardless of the value of open_max.
To obtain the number of current file descriptors programatically, use the sysconf or getdtablesize function.