Increased memory usage after upgrading to eDirectory 882 on Solaris.

  • 7000744
  • 25-Jun-2008
  • 13-Jan-2014

Environment

eDirectory 8.8.2
Solaris 9

Situation

A large Solaris 9 eDirectory instance of approximately 8 million objects was upgraded from 8.8.1 to 8.8.2. Before the upgrade, memory usage consistently hovered around 1gb. After upgrading to eDirectory 8.8.2, memory usage steadily climbed during the day to over 3gb. At this point, ndsd would be restarted to avoid the risk of a crash.

Resolution

The additional memory usage was caused by a memory leak which occurred in eDirectory 8.8.2.  This defect has been fixed in eDirectory 8.8.3.

Resolution:

Apply eDirectory 8.8 SP3 or newer.

Workaround:


On the Solaris platform by default, eDirectory 882 uses the libumem memory allocator. eDirectory 881 used the native memory allocator. It is possible to revert to the native memory allocator by commenting out libumem related LD_PRELOAD lines from /etc/init.d/ndsd script.
To verify run, pldd <ndsd_pid> | grep libumem . You shouldn't get anything in the output.