UVMS: "Max open files" setting not correctly set
search cancel

UVMS: "Max open files" setting not correctly set

book

Article ID: 123737

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Node Settings / Objects / Autopatch Packages cannot be imported in UVMS on Linux in case the user starting UVMS has a "ulimit -Hn" value inferior to 8000.
This can be checked via the pseudo-file /proc/UVMS_PID/limits
Instead of modifying the "Max open files", the "Max file size" is set to 8000 which is not correct. 

A correct output should be something like this:

[root@hostname]# more /proc/UVMS_PID/limits
Limit                     Soft Limit           Hard Limit           Units
Max file size             unlimited            unlimited            bytes
...
Max open files            8000                 8192                 files

Environment

Linux

Cause

Problem caused by the following line in the script unistartms on Linux:
"ulimit -n ${uxmaxfd} >/dev/null 2>&1 || ulimit ${uxmaxfd} >/dev/null 2>&1" 
 

Resolution

Workaround:
Replacing the line 77 of script unistartms by:
ulimit -n ${uxmaxfd} > /dev/null 2>&1

Solution:
Update to a fix version listed below or a newer version if available.

Fix version: Dollar Universe 6.9.61
Component: Univiewer Management Server
Release Date: 15th January 2019