EMS probe leaking memory and crashing affecting UIM portal
search cancel

EMS probe leaking memory and crashing affecting UIM portal

book

Article ID: 216257

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Here is a cut from the log where the EMS probe is trying to invoke the servicenow gateway that we do not use and have not installed.

So I assume that some person has clicked the create incident button in the alarm console that then causes EMS to try to process the alarm

How can I clear these records out of the EMS probe to return it to normal processing?

there are 2 messages that EMS is logging over and over and over.

it eventually runs out of memory and crashes that unfortunately also breaks the UIM portal

May 06 14:35:28:127 [attach_socket, ems] pagerduty_config_get called with _data='25', _compressed=0
May 06 14:35:28:257 [attach_socket, ems] service_desk_config_get called with _data='{"enabled":false,"configured":false,"accountId":25,"accountName":"xxxx","applicationName":"ServiceNow","createNotification":false,"updateNotification":false,"clearNotification":false}', _compressed=0
May 06 14:35:28:258 [attach_socket, ems] java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.nimsoft.events.common.callbacks.AbstractCallbackService.invoke(AbstractCallbackService.java:39)
 at com.nimsoft.events.common.callbacks.CallbackServiceMethodCallback.cbExecute(CallbackServiceMethodCallback.java:19)
 at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.performCallback(NimServerSession.java:225)
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.handleMessage(NimServerSession.java:178)
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.run(NimServerSession.java:123)
Caused by: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/xxx/xxx/xxxx/sdgtw_message_hub'

Environment

UIM Release : 20.3.3

UIM - EMS :10.24

Resolution

Follow the below steps:-

  • Take the backup of EMS.cfg
  • Delete the EMS probe and Delete the EMS folder
  • Open the task manager and kill the ems process
  •  Redeploy the EMS probe