Enabling Event Poll to Avoid False Warnings

Altair Units License checkouts count towards the total number of open files. The Altair Units License SDK by default uses the select(2) interface in Linux to monitor the number of available file handles or sockets. The highest number that select(2) can return is 1024. This means that as soon as 1024 or more file handles are open, the license server process will not see any available file descriptors.


However, the Altair Units License SDK can also use the epoll(7) interface in Linux, which is not suffering from the limitation of select(2). To make the ALSDK use epoll(7) instead of select(2), you must set an environment variable as follows:


LMX_USE_EPOLL=1


Still, epoll(7) is nonetheless bound by the rlimit settings, which means that in addition to setting the above environment variable, you may also need to raise the open files rlimit for the Tomcat process, by using the ulimit command.

(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support