Environment Variables
The table below provides various environment variables and their definitions:
Variable |
Definition |
||||||
(Windows only) Prevents interactive pop-ups from appearing. Set to 1 if a batch application. (Version 7.0 and later clients) |
|||||||
Used for debugging where applications do not print error message text. Set to 1, 2, or 3, depending on the amount of diagnostic information desired. See FLEXLM_DIAGNOSTICS (Version 5.0 and later clients) |
|||||||
Provides the path for the flexlm diagnostics logs file. During initialization, the priority for the diagnostics log file creation is defined in this environment variable. If unsuccessful, the log file will be created in the current working directory. If log file creation on both the paths were unsuccessful then,
|
|||||||
(Windows only) Sets the timeout value a FlexEnabled application uses when attempting to connect to a license server. Values are in microseconds, within the range of 200,000 (0.2 seconds) through 20,000,000 (20 seconds). The default value is 3,000,000 microseconds (that is 3 seconds). |
|||||||
Used for initiating license borrowing and setting the borrow period. See Initiating License Borrowing for more details. On UNIX platforms, $HOME/.flexlmborrow is used for the registry instead of $HOME/.flexlmrc. |
|||||||
Reset path to license file. Can be a license search path, separated by “:” on UNIX and “;” on Windows. If VENDOR_LICENSE_FILE is used, VENDOR is the vendor daemon name used by this application. For example, Revenera products use MVSN_LICENSE_FILE. Can be a file name, or port@host. See also Setting the License Search Path Using an Environment Variable (VENDOR_LICENSE_FILE requires version 6.0 and later clients). |
|||||||
LM_PROJECT’s value (up to 255 characters) is logged in the report log file and later reported on by FlexNet Manager. It can also be used to RESERVE, INCLUDE, and so on licenses with PROJECT. For example: RESERVE 1 f1 PROJECT airplane The variable is read upon the license server’s initial connection with the FlexEnabled client and is reread for each job, enabling you to update the variable value as needed on a job-to-job basis. However, the value with which a job initiates remains in effect for the duration of that job. You cannot modify this value mid-job. Note:This feature requires that the FlexEnabled client be built with FlexNet Publisher 5.0 or later and that the vendor daemon be built with FlexNet Publisher 7.0 or later. |
|||||||
Used to limit the number of simultaneous client connections to lmgrd. The default is to allow the maximum number of simultaneous client connections (approximately 1000). On Linux, the maximum and default value is 1024. On Windows, because four file descriptors are used per lmgrd job connection, the maximum and default value is 4096. It should be noted that lmgrd hands off connections to the vendor daemon (see Maximum Client Connections to License Server) and that this environment variable does not affect the number of allowed client connections to the vendor daemon. |
|||||||
LM_UTIL_CASE_SENSITIVE |
Used by the FlexLM utilities. If set to 1, the utilities process license file lines as case sensitive. By default, this variable is set to 0; license files are treated as case insensitive. This environment variable is applicable only when the license server, itself, has been configured by your software publisher to treat license files in a case sensitive manner. |
||||||
TCP_NODELAY |
Improves license server performance when processing license requests. Set to 1 to enable performance enhancements. Use with caution: when enabled it may cause an increase in network traffic. Set TCP_NODELAY as System variables when setting the service to start at power up using lmtools. |
||||||
FNP_IP_ENV |
Improves the performance while checking out a license. When this environment variable value is set to 1, the hostname resolution function calls are bypassed and the performance is improved. |
||||||
FNP_IP_PRIORITY |
Decides the IP priority for hostname resolution. By default IPv4 address resolution is used, if this resolution fails then it attempts for the IPv6 address resolution. Set FNP_IP_PRIORITY = ‘6’ to use the IPv6 addresses resolution, if this resolution fails then it attempts for the default IPv4 address resolution. |