Novell Home

Utilities for eDirectory on Linux won't work under high load

Novell Cool Solutions: Question & Answer

Posted: 1 Sep 2004

Q:
When the server is under a high load, my eDirectory utilities such as ndsrepair, ndstrace, and nldap, will not load. What should I do?



A:
Add the following lines to /etc/init.d/ndsd:

MALLOC_TRIM_THRESHOLD_=20971520
MALLOC_MMAP_MAX_=4
export MALLOC_TRIM_THRESHOLD_ MALLOC_MMAP_MAX_

The server must be restarted after changing these variables.

  • MALLOC_TRIM_THRESHOLD_=20971520
    This parameter specifies the size of the smallest chunk of freed memory that causes the memory management system to shrink the data segment.
  • MALLOC_MMAP_MAX_=4
    The maximum number of memory channels that can be served at the same time.
These tuneables together help automatic trimming of unused memory, mainly useful in long-lived programs such as eDirectory.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Novell® Making IT Work As One

© 2009 Novell, Inc. All Rights Reserved.