Repeated instances of excessive memory consumption in Veritas Volume Replicator (VVR) component vradmind

book

Article ID: 1000766192

calendar_today

Updated On:

Description

The vradmind daemon leaks memory during its internal cache refresh cycle. Every 5 minutes, an internal timer triggers a cache reinitialisation event. During each cycle, the daemon performs an IP address lookup on the secondary node to validate replication connectivity. The memory allocated for this lookup is never released after use, resulting in a small amount of memory (64 bytes) leaking on every cycle.

Over time — particularly on systems with long uptimes (10+ months) — with tens of thousands of reinit cycles per node, the leaked memory accumulates to tens of GBs, ultimately exhausting system memory and causing vradmind to crash.

Cause

  • Memory allocated during IP address lookup on the secondary node that was never released

  • Memory allocated during a broadcast loop that was not freed on exit

How to find the Leak:

Run the following in the background to track vradmind memory usage over time:

 
 
 
while true; do date >> /var/tmp/ps-aux-vradmin.out ps aux | grep vradmin >> /var/tmp/ps-aux-vradmin.out sleep 120 done

If the memory (RSS) of the vradmind process is continuously increasing over hours/days, a memory leak is confirmed.

Resolution

WorkAround

  1. Periodic vradmind restart — Schedule a monthly restart to reset the memory heap before it reaches a critical level:

     
     
     
    systemctl restart vras-vradmind
  2. Disable stats collection — May reduce the frequency of the cache reinit timeout condition:

     
     
     
    VRAS_ENABLE_STATS=off systemctl restart vras-vradmi

Permanent Fix:

A supported hotfix has been made available for this issue. Please contact  Technical Support to obtain this fix. This hotfix has not yet gone through any extensive Q&A testing. Consequently, if you are not adversely affected by this problem and have a satisfactory temporary workaround in place, we recommend that you wait for the public release of this hotfix.

 

 

 

Issue/Introduction

The vradmind process experiences a continuous memory leak that eventually leads to an Out of Memory (OOM) condition and process crash. The process memory grows unboundedly, causing the Linux kernel to forcefully kill vradmind, disrupting VVR replication.