...
Adjusting the maximum number of opened files
Legacy settings (before build 5.2.762)
In the launch script webcallserver
that is in subfolder bin
in WCS home folder, for example
...
By default, this value is set to 20000, but it may be increased if necessary, following the limitations of the operating system used.
Using environment variable (since build 5.2.762)
Since build 5.2.762, maximum opened files limit can be set using the following environment variable
Code Block | ||
---|---|---|
| ||
WCS_FD_LIMIT=20000 |
in setenv.sh file. When updating WCS from previous builds, this variable should be added to setenv.sh manually, for example
Code Block | ||
---|---|---|
| ||
export WCS_FD_LIMIT=100000 |
Unlike the webcallserver startup script, the setenv.sh file is not overwritten on subsequent updates, therefore it is not necessary to restore this setting after every update.