Open topic with navigation
USupported on UNIX
The SYN_ULIMIT environment variable defines ulimit for the Synergy runtime and xfServer.
To raise the current maximum file limit, one of the following:
To lower the current maximum file limit,
To raise the maximum file limit with SYN_ULIMIT, you must add the setuid bit to the Synergy runtime and xfServer executables (dbr, dbs, and rsynd). This is no longer the default for a distributed runtime. (You do not need to set setuid to lower the file limit.)
In order for the Synergy runtime or xfServer to raise the ulimit value, dbr and rsynd must be owned by root and have the setuid bit set. To make root own dbr and rsynd and set the setuid bit, enter the following at the command line:
chown root dbr rsynd chmod u+s dbr rsynd
If the setuid bit is not set, files created by the Synergy runtime or xfServer are limited to the system ulimit.
By default, when SYN_ULIMIT is activated, files created with the Synergy runtime or xfServer are limited to 204800 blocks (104 MB) or the system ulimit if it is higher.
Do not use SYN_ULIMIT if you use Connectivity Series. Instead, use your operating‑system equivalent.
Runtime, compiler, linker, librarian, fcompare, fconvert, isutl
In the example below, files are limited to 204800 512‑byte blocks (which is 104,857,600 bytes, or 104 MB) or the system ulimit, if it is higher.
SYN_ULIMIT=204800 ;export SYN_ULIMIT
In the following example, files are limited to 104 MB, which is equivalent to the first example.
SYN_ULIMIT=104Mb ;export SYN_ULIMIT
The example below sets an unlimited file limit.
SYN_ULIMIT=-1 ;export SYN_ULIMIT
The example below reduces the file limit to 50,000K.
SYN_ULIMIT=50000R ;export SYN_ULIMIT