I have installed a UIM robot on Rocky Linux, and as part of the installation I made the following modification to the service entry which allows the processes to open an unlimited number of files:
[Service]
LimitNOFILE=infinity
After making this change my robots will not come up after restart and seem to be hung up.
The last message in the controller.log is "Stopping processes from previous run" and nothing is logged after that and the probes do not start.
The output of "systemctl status nimbus.service" looks like:
● nimbus.service - UIM server
Loaded: loaded (/usr/lib/systemd/system/nimbus.service; enabled; preset: disabled)
Active: active (running) since Thu 2024-05-23 12:50:36 EDT; 35s ago
Process: 7729 ExecStart=/opt/nimsoft/bin/nimbus /opt/nimsoft (code=exited, status=0/SUCCESS)
Main PID: 7730 (nimbus)
Tasks: 7 (limit: 48925)
Memory: 2.9M
CPU: 34.831s
CGroup: /system.slice/nimbus.service
├─7730 /opt/nimsoft/bin/nimbus /opt/nimsoft
├─7736 "nimbus(controller)"
├─7737 sh -c "( lsof -P -p 4103 | grep LISTEN | grep :48002 ) > /dev/null 2>&1"
├─7738 sh -c "( lsof -P -p 4103 | grep LISTEN | grep :48002 ) > /dev/null 2>&1"
├─7739 lsof -P -p 4103
├─7740 grep LISTEN
└─7741 grep :48002
Rocky Linux 8 or 9
problem with lsof command
Instead of "infinity", set the file limit to a very high number, like 500000. This should resolve the issue.