UIM USM performance problems and error popups

Document ID : KB000117425
Last Modified Date : 11/10/2018
Show Technical Document Details
Issue:
In USM is slow to respond and there are frequent popup errors with:
An unknown error has occurred.
Refreshing your browser may resolve the issue.

Details:
com.firehunter.ump.exceptions.DataFactoryException : There are no alarm services available!
Please check the log for more information.
Stack Trace:
(1) error, There are no alarm services available!
    at com.nimsoft.events.client.EmsClient.ensureAtLeastOneAlarmServiceAvailable(EmsClient.java:716)

The ems log has entries like:
Oct 11 14:42:20:098 [attach_clientsession, ems] Rejected incoming batch for subject 'event' due to unresolved heap usage too high: 0.97 
Oct 11 14:42:20:099 [attach_clientsession, ems] Error processing message for subscriber event_manager on event : com.nimsoft.events.common.exception.EMSRestartException: Rejected incoming batch due to unresolved heap usage for '120' seconds.  Forcing restart. 

 
Cause:
spectrumgtw is being used for Spectrum integration, and this increased the load on ems resulting in the problem with memory and the restart. The restart results in the USM popup error, and it also maintains functionality for spectrumgtw to continue to work. 
Resolution:
go to ems raw configure
startup > opt
default is:  
java_mem_init = -Xms256m
java_mem_max = -Xmx1024m

deactivated spectrumgtw
deactivated ems
doubled the memory allocation to:
java_mem_init = -Xms1024m
java_mem_max = -Xmx4028m

Click Apply > OK
activate ems 
activate spectrumgtw