Error Message :
In UVMS uvserver.log this kind of error appears a lot of times:
|ERROR| request-worker-pid | com.orsyp.central.server.DispatchHandler | Handle creation error
java.lang.RuntimeException: Invoke flush on output stream failed! See cause:
The issue causes the UVMS to respond very slowly in general.
UVC connections are impossible sometimes and sometimes they can take up to 3 minutes.
By checking the "UVMS Server Monitoring" via UVC, a flat line at 100% for the UVMS CPU can be observed. On the OS a constant high CPU load can be seen via the corresponding OS tools (e.g. top for Linux/Unix or TaskManager on Windows) for the UVMS process as well.
Root Cause: Some queries coming from the UVC clients related to the Node List could impact the global performance of the UVMS.
Some additional services like "Consolidation of Job Run Summary" and the DUAS 6 "Synchronization" can also impact performances if performed too frequently in large environments.
Issue found on UVMS with lot of activity (multiple UVC sessions) and more than 50 v6 nodes.
Upgrade to version 6.8.21 or superior the UVMS where some new node settings on UVMS side have been added to help with the usage of the CPU.
With that version new parameters have been introduced to allow optimizations.
Check the UVMS node settings and verify that the Optional Service "Enable Consolidation of Job Summary" is set to No.
Check as well the Synchronization settings and that the values are not lower than 30 / 90, else set them to these values:
DUAS v6 to UVMS data synchronization cycle (seconds) 360
DUAS v6 to UVMS synchronization cycle (seconds) 90
For UVMS on large environments ( around 100 nodes and multiple users ) we suggest to set those new parameters as follows:
1. Stop the UVMS
2. Backup the file <uvms_folder>/data/values.xml
3. Add the following at the end of the <unijob> section right before the end tag </unijob> within values.xml:
4. Restart the UVMS
5. Check that issue (constant high CPU usage) does not reproduce anymore, in case it does, please add or replace the following variables on the values.xml:
6. Restart again the UVMS to take into account the new parameters.
In the unlikely case that the CPU utilization still goes to 100% constantly, please let us know.
Restart the UVMS process as soon as it starts to go into the constant high CPU load situation
Fix Status: Released
Component: Univiewer Management Server
Fix version: 6.8.21 - Available