Smarts SAM: Servlet console notification updates are slow
search cancel

Smarts SAM: Servlet console notification updates are slow

book

Article ID: 304269

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




Smarts SAM Servlet console notification updates are slow
When performing Servlet console User Actions against a Smarts SAM Notification, the change is not reflected on the console immediately

Environment

VMware Smart Assurance - SMARTS

Cause

This issue may be seen when the Smarts SAM throttle value on the Servlet is set too low. The throttle value controls the maximum number of updates that will be sent to a console within a predefined update period. If the throttle value is set too low as seen in this issue, the queue of unprocessed notification updates will build up and give the impression that updates are not occurring, when instead the updates are really queued.

Resolution

The Smarts SAM Servlet throttle setting is configured in the web.xml file and is the parameter called com.smarts.notification.throttle. To resolve this issue, you must increase the Smarts SAM Servlet throttle value in this file to a higher value. This will increase the maximum number of updates permitted in the predefined update period and improve notification update performance.

To increase the Smarts SAM Servlet throttle value, do the following:

  1. Open the web.xml file for editing in an appropriate XML editor. The web.xml file is found in the following Smarts installation directory:

    <BASEDIR>/smarts/jakarta-tomcat-5.0.16/webapps/notifications/WEB-INF/

  2. Find the parameter in the web.xml file called com.smarts.notification.throttle. This parameter will look like the following: 

    <param-name>com.smarts.notification.throttle</param-name>
    <param-value>15000</param-value>

     
  3. Increase the <param-value> (15000 in the preceding example) to a higher value.
  4. Restart the Smarts SAM Servlet process.