The activity monitor job cache is using a large amount of heap space.

Article: 100049808
Last Published: 2023-04-20
Ratings: 1 1
Product(s): NetBackup & Alta Data Protection

Problem

To support better performance in the activity monitor in the Web UI, NetBackup is caching job data in memory.  When the job cache reaches a threshold of 17% of total available memory,  an alert is generated warning an administrator that system performance may be impacted.The alert will appear once every 30 days provided the cache size remains above 17% at the time of the next warning interval.

If the job cache consumes an extremely large amount of heap space (more than 30%), the web service may become unresponsive.
 

Error Message

The activity monitor job cache uses a large amount of heap space. System performance may be impacted. See https://www.veritas.com/support/en_US/article.100049808 for more details.

 

Cause

A large number of jobs are being cached in memory.

 

Solution

If system performance is impacted, an administrator can do one or more of the following:

  • Change the number of hours jobs that are retained in NetBackup to reduce the number of cached jobs.  Default is 78.
    • KEEP_JOBS_HOURS
    • KEEP_JOBS_SUCCESSFUL_HOURS
       
  • Increase the Xmx heap size for the NetBackup web server.

    Rough calculation for deciding what value to use:
    jobs per day * KEEP_JOBS_SUCCESSFUL_HOURS / 24 * single job memory usage / desired ratio

    Example calculation for 200k jobs per day, successful jobs kept for 168 hours (1 week), and a desired 15% memory usage (each job takes up roughly 1KB of web service memory):
    200000 * 168 / 24 * 1000 / .15 = 9.3333333 GB
     
    1. If not present. Create the wmcConfig script in the appropriate NetBackup configuration directory.

      • Windows: install_path\Veritas\NetBackup\var\global\wsl\config\wmcConfig.bat
      • UNIX and Linux: /usr/openv/var/global/wsl/config/wmcConfig.sh

        Ensure root has execute permissions on the script.
         
    2. Add a line to the end of the script setting the WMC_HEAP variable. Refer to the Oracle JVM documentation for information on valid values, specifically the -Xmx option.

      • Windows example (10 GB)
        SET WMC_HEAP="10000m"
         
      • UNIX and Linux example (10 GB)
        WMC_HEAP="10000m"
         
    3. Restart the NetBackup Web Management Service to apply the configuration changes.

 

 

References

Etrack : 4178666

Was this content helpful?