We would like to receive notification the unexpected node restart.

Takayuki Anzai
ServiceNow Employee
ServiceNow Employee

Hi,

We are facing java.lang.OutOfMemoryError: Metaspace error(KB0960944) 2 or 3 times a week on an irregular basis on our production instance, and the node is restarted each time, it causes problems with some scheduled jobs and UIs.

We can't implement the workaround soon.

When this error occurs, we have to immediately check if there are impacts and recover.

We tried to configure the notification email as the event trigger against 'Node Start' event in the diagnostic_event table. However the diagnostic_event table does not support for using the notification email engine on an event trigger and it does not work.

Are there any ways to receive notification by email(,etc.) the unexpected node restart?

Thanks

7 REPLIES 7

Hi Takayuki,

I don't think its true as I tried in my PDI and its working with same set of conditions. You can also try on your non-prod environment.

Here I inserted manually one record in the Diagnostic table with name as "Node start" and it triggers an email notification.

 

Hope it helps.

Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

Hi Sulabh,

As you mentioned, we can see if we insert a new diagnostic_event record manually by clicking 'New' button and it triggers an email notification using the same conditions you provided.

However, we asked ServiceNow technical support to actually restart the node for testing and the record is automatically created in the diagnostic_event table, the email notification does not work. We are not sure the reason.

Thanks,
Takayuki

Ideally, If on inserting the manual record, Email notification triggered then it should trigger on automatic insertion of record as well.

I am also not sure on the reason.

 

find_real_file.png

Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg