SYN_ULIMIT

ulimit value

 

 

USupported on UNIX

 

The SYN_ULIMIT environment variable defines ulimit (maximum file limit) for the Synergy runtime and xfServer.

To raise the current maximum file limit, one of the following:

To lower the current maximum file limit,

In order for the Synergy runtime or xfServer to raise the ulimit value, dbr or rsynd must be owned by root and have the setuid bit set. (But you do not need to set setuid to lower the file limit.) By default, rsynd is owned by root and the setuid bit is set; this is not the case for the runtime(s).

For example, 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.

Important

Do not use SYN_ULIMIT if you use Connectivity Series. Instead, use your operating-system equivalent.

The environment.

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