UVMS: file-descriptors not liberated while launching uniimp

Document ID : KB000118071
Last Modified Date : 21/11/2018
Show Technical Document Details
Issue:
Using the toolkit "uniimp", it is being perceived that the UVMS allocates multiple file-descriptors of type pipe and anon_inode  which are not deallocated at the end of the "unimp" execution but it takes a long time until they are released.
Example of what can be detected while launching the "lsof" command on the PID of the UVMS process.

lsof -p pid_process_java_uvms
java    19837 universa  642r     FIFO                0,8      0t0 41712913 pipe
java    19837 universa  643w     FIFO                0,8      0t0 41712913 pipe
java    19837 universa  644u      REG                0,9        0     3638 anon_inode
java    19837 universa  645r     FIFO                0,8      0t0 41712914 pipe
java    19837 universa  646w     FIFO                0,8      0t0 41712914 pipe
java    19837 universa  647u      REG                0,9        0     3638 anon_inode
java    19837 universa  648r     FIFO                0,8      0t0 41712915 pipe
java    19837 universa  649w     FIFO                0,8      0t0 41712915 pipe
java    19837 universa  650u      REG                0,9        0     3638 anon_inode

 
Environment:
UVMS
Cause:
Problem caused by a Java bug included in an outdated Java version.
Resolution:
Workaround: restart UVMS or wait until uniimp process finishes.

Solution: upgrade Java version to latest Java 8 version ( modify its path accordingly in unienv* file) and restart UVMS.