This article is specifically for Solaris platforms which is only supported on GA4.x.x
End of life for Geneos 4.x.x is set to 31 May 2023. If you are using Geneos 4.x.x, we advise you to upgrade to Geneos 5.x.x or newer. For more details please see our Compatibility Matrix
By using the extended FILE facility in Solaris in order to lift the open files limit from the default 256. |
The extended FILE facility allows 32-bit processes to use any valid file descriptor with the standard I/O C library functions. Historically, 32-bit applications have been limited to using the first 256 numerical file descriptors for use with standard I/O streams. By using the extended FILE facility this limitation is lifted. Any valid file descriptor can be used with standard I/O.
The extended FILE facility is enabled from the shell level before an application is launched. The file descriptor limit must also be raised. The syntax for raising the file descriptor limit (in bash/ksh/sh) is $ ulimit -n max_file_descriptors where max_file_descriptors is the maximum number of file descriptors desired. Sample declaration on a bash start script
#!/bin/bash ... export LD_PRELOAD_32= /usr/lib/extendedFILE .so.1 ulimit -n 1024 ...
* for C shell (csh), the syntax would be: Sample declaration on a csh start script
#!/bin/csh ... setenv LD_PRELOAD_32 /usr/lib/extendedFILE .so.1 limit descriptors 1024 ...
|
Comments
0 comments
Please sign in to leave a comment.