Maintaining Novell eDirectory
531
no
vd
ocx
(e
n)
6 Ap
ril 20
07
2
(Optional) To set a calculated hard limit, enter the following at the server console. Include only
the options you want to specify.
SET DSTRACE=!MHARD,AVAIL OR
TOTAL,%:
percent
,MIN:
number_of_bytes
,MAX:
number_of_
bytes
,LEAVE:
number_of_bytes_to_leave
,NOSAVE
For example, to set a hard limit of 75% of total physical memory and minimum of 16 MB, and
to specify not to save these options to the startup file, you would enter
SET DSTRACE=!MHARD,%:75,MIN:16777216,NOSAVE
3
(Optional) To set a dynamically adjusting limit, enter the following at the server console:
SET DSTRACE=!MDYN,%:
percent
,MIN:
number_of_bytes
,MAX:
number_of_bytes
,LEAVE:
number_of_bytes_to_leave
,
NOSAVE
For example, to set a dynamic limit of 75% of available memory and a minimum of 8 MB, you
would enter
SET DSTRACE=!MDYN,%:75,MIN:8388608
18.1.3 Tuning LDAP for eDirectory
For information on basic LDAP server hardware and software configuration, tuning parameters, and
tips on directory organization, see
How to Configure and Optimize eDirectory LDAP Servers (http:/
/developer.novell.com/research/appnotes/2000/septembe/04/a000904.htm)
.
Managing the Memory
eDirectory uses memory for the database cache and for directory usage. These are separate allocated
memory pools. The directory engine uses memory from available memory pools in the operating
system as needed. The database uses a cache pool that is defined by parameters detailed below.
Usually, the more database cache given to eDirectory, the better the performance. However, because
eDirectory uses available system memory for its buffers, if clients are performing queries that
require large data sets to be returned, the size of the database cache might need to be decreased to
have enough system memory for the directory to handle building the query responses.
The database engine uses the database cache to hold the most recently accessed blocks. This cache is
initially defined with a fixed size of 16 MB. The size of this cache can be changed from the
command line in shipping versions of eDirectory. The following example command will set the
eDirectory database cache to 80 million bytes:
set dstrace=!mb 80000000
You can also define a file named _ndsdb.ini in the
sys:\_netware
directory on a NetWare
server, or in the directory containing the eDirectory database files on the Windows (normally
install directory
\nds\dbfiles
) and Linux and UNIX environments (normally
\var\nds\dib
). This text file simply needs to contain a line such as the following:
cache=80000000
Don’t add any white space around the equals (=) sign
The cache in eDirectory 8.8 can be initialized with a hard limit just as with earlier versions. In
addition, the upper and lower limits can be set either as hard numbers or as a percentage of available
memory. Dynamic allocation control parameters allow the cache size to grow or shrink depending
on use. If the proper configuration parameters are set, the database cache dynamically grows or
shrinks based on other system resource needs.
Summary of Contents for EDIRECTORY 8.8 SP2
Page 4: ...novdocx en 6 April 2007...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 255: ...256 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 406: ...408 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 563: ...566 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 573: ...576 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 601: ...604 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...