We have a NW 6.5 SP2, eDir 8.7.3.3 server that serves as an eDirectory
replica server and IDM2 server. It has 4GB of RAM. We are also running
iManager 2.02 on it. It has been stable for almost a year (after making a
number of memory tuning adjustments) but lately I've been noticing
available logical memory is slowly decreasing (need to reboot every couple
of weeks). Since nothing has been changed on this server I assume it
could just be the growing size of the DIB and additional workload in the
server.

Looks like time to install some upgrades and do some memory tuning.
Questions:

1. SP4a or SP5?
2. eDir 8.7.3.7?
3. iManager 2.5 or 2.6?
4. After installing SP should I remove all my current tuning parameters
(listed below in SEGSTAT) and then run MEMCALC for new numbers?

Here's a recent SEGSTAT:

*** Memory Pool Configuration for : NDS4
Time and date : 06:02:38 AM 04/20/2006
Server version : NetWare 6.5 Support Pack 2
Server uptime : 1d 21h 28m 34s
SEG.NLM version : v1.72

0xFFFFFFFF --------------------------------------------------------------
| Kernel Reserved Space |
| |
| Size : 167,772,159 bytes (160.0 MB) |
| |
0xF6000000 --------------------------------------------------------------
| User Address Space (L!=P) |
| |
| User Pool Size : 1,040,187,392 bytes (992.0 MB) |
| High Water Mark : 539,250,688 bytes (514.3 MB) |
| |
0xB8000000 --------------------------------------------------------------
| Virtual Memory Cache Pool (L!=P) |
| |
| VM Pool Size : 2,013,265,920 bytes (1.88 GB) |
| Available : 2,008,932,352 bytes (1.87 GB) |
| Total VM Pages : 1,807,613,952 bytes (1.68 GB) |
| Free Clean VM : 1,794,420,736 bytes (1.67 GB) |
| Free Cache VM : 13,193,216 bytes (12.6 MB) |
| Total LP Pages : 0 bytes (0 KB) |
| Free Clean LP : 0 bytes (0 KB) |
| Free Cache LP : 0 bytes (0 KB) |
| Free Dirty : 0 bytes (0 KB) |
| VM Pages In Use : 201,318,400 bytes (192.0 MB) |
| NLM Memory In Use : 937,123,840 bytes (893.7 MB) |
| NLM/VM Memory : 918,290,432 bytes (875.8 MB) |
| Largest Segment : 735,154,176 bytes (701.1 MB) |
| High Water Mark : 965,324,800 bytes (920.6 MB) |
| |
0x40000000 --------------------------------------------------------------
| File System Cache Pool (L==P or L!=P) |
| |
| FS Pool Size : 1,067,630,592 bytes (1018.2 MB) |
| Available : 357,945,344 bytes (341.4 MB) |
| Largest Segment : 322,527,232 bytes (307.6 MB) |
| |
| NSS Memory (OFF) : 596,320,256 bytes (568.7 MB) |
| |
0x005D4000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,111,232 bytes (5.8 MB) |
| |
0x00000000 --------------------------------------------------------------

Top 6 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== =========================
=====
1. DS.NLM 10551.29 Aug 24, 2004 524,220,912 bytes (499.9
MB)
2. NSS.NLM 3.22 May 14, 2004 137,829,536 bytes (131.4
MB)
3. SERVER.NLM 5.70.02 Jun 11, 2004 104,400,010 bytes (99.6
MB)
4. CONNMGR.NLM 5.60 Jun 16, 2004 31,875,309 bytes (30.4
MB)
5. NCPIP.NLM 6.01 Jun 8, 2004 10,184,009 bytes (9.7 MB)
6. NETSHLD.NLM 4.61.04 Dec 11, 2003 8,424,414 bytes (8.0 MB)



Logical Memory Summary Information
================================================== =========================
=====

File System Cache Information
FS Cache Free : 336,102,982 bytes (320.5 MB)
FS Cache Fragmented : 21,842,362 bytes (20.8 MB)
FS Cache Largest Segment : 322,527,232 bytes (307.6 MB)

Logical System Cache Information
LS Cache Free : 770,641,920 bytes (734.9 MB)
LS Cache Fragmented : 50,081,792 bytes (47.8 MB)
LS Cache Uninitialized : 0 bytes (0 KB)
LS Cache Largest Segment : 735,154,176 bytes (701.1 MB)
LS Cache Largest Position : 842E8000

Summary Statistics
Total Free : 1,106,744,902 bytes (1.03 GB)
Total Fragmented : 71,924,154 bytes (68.6 MB)
Highest Physical Address : EFFDF000
User Space : 1,207,959,552 bytes (1.13 GB)
User Space (High Water Mark) : 539,250,688 bytes (514.3 MB)
NLM Memory (High Water Mark) : 965,324,800 bytes (920.6 MB)
Kernel Address Space In Use : 1,908,338,688 bytes (1.78 GB)
Available Kernel Address Space : 1,178,669,056 bytes (1.10 GB)


Memory Summary Screen (.ms)
================================================== =========================
=====

KNOWN MEMORY Bytes Pages Bytes Pages
Server: 4025896128 982884 Video: 8192 2
Dos: 109376 26 Other: 131072 32

FS CACHE KERNEL NLM MEMORY
Original: 4021907456 981911 Code: 37392384 9129
Current: 357945344 87389 Data: 20803584 5079
Dirty: 0 0 Sh Code: 45056 11
Largest seg: 322527232 78742 Sh Data: 20480 5
Non-Movable: 12288 3 Help: 139264 34
Other: 686772224 167669 Message: 1171456 286
Avail NSS: 0 0 Alloc L!=P: 857931776 209456
Movable: 8192 2 Alloc L==P: 786432 192
Total: 918290432 224192
VM SYSTEM
Free clean VM: 1794420736 438091
Free clean LP: 0 0
Free cache VM: 13193216 3221
Free cache LP: 0 0
Free dirty: 0 0
In use: 201318400 49150
Total: 2008932352 490462












Memory Configuration (set parameters)
================================================== =========================
=====

File Cache Maximum Size = 1073741824
File Service Memory Optimization = 1
Logical Space Compression = 1
Garbage Collection Interval = 299.9 seconds
VM Garbage Collector Period = 120.0 seconds
server -u<number> = 1040187392



NSS Configuration File:
C:\NWSERVER\NSSSTART.CFG
------------------------------
/nocachebalance
/minbuffercachesize=160000






DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
------------------------------
cache=450000000


Server High/Low Water Mark Values
================================================== =========================
=====

NLM Memory High Water Mark = 965,324,800 bytes
File System High Water Mark = 844,627 bytes

User Space Information:
User Space High Water Mark = 131,653 pages
Committed Pages High Water Mark = 101 pages
Mapped VM Pages High Water Mark = 15,946 pages
Reserved Pages High Water Mark = 268,407 pages
Swapped Pages High Water Mark = 3,966 pages

Available Low Water Mark = 2,106,335,232
ESM Memory High Water Mark = 0 pages




************************************************** ************************

For comparision, here is one from yesterday:

*** Memory Pool Configuration for : NDS4
Time and date : 02:39:39 PM 04/19/2006
Server version : NetWare 6.5 Support Pack 2
Server uptime : 1d 06h 05m 20s
SEG.NLM version : v1.72

0xFFFFFFFF --------------------------------------------------------------
| Kernel Reserved Space |
| |
| Size : 167,772,159 bytes (160.0 MB) |
| |
0xF6000000 --------------------------------------------------------------
| User Address Space (L!=P) |
| |
| User Pool Size : 1,040,187,392 bytes (992.0 MB) |
| High Water Mark : 539,250,688 bytes (514.3 MB) |
| |
0xB8000000 --------------------------------------------------------------
| Virtual Memory Cache Pool (L!=P) |
| |
| VM Pool Size : 2,013,265,920 bytes (1.88 GB) |
| Available : 1,974,009,856 bytes (1.84 GB) |
| Total VM Pages : 1,768,071,168 bytes (1.65 GB) |
| Free Clean VM : 1,759,961,088 bytes (1.64 GB) |
| Free Cache VM : 8,110,080 bytes (7.7 MB) |
| Total LP Pages : 0 bytes (0 KB) |
| Free Clean LP : 0 bytes (0 KB) |
| Free Cache LP : 0 bytes (0 KB) |
| Free Dirty : 0 bytes (0 KB) |
| VM Pages In Use : 205,938,688 bytes (196.4 MB) |
| NLM Memory In Use : 968,302,592 bytes (923.4 MB) |
| NLM/VM Memory : 953,577,472 bytes (909.4 MB) |
| Largest Segment : 769,314,816 bytes (733.7 MB) |
| High Water Mark : 964,567,040 bytes (919.9 MB) |
| |
0x40000000 --------------------------------------------------------------
| File System Cache Pool (L==P or L!=P) |
| |
| FS Pool Size : 1,067,630,592 bytes (1018.2 MB) |
| Available : 357,974,016 bytes (341.4 MB) |
| Largest Segment : 322,527,232 bytes (307.6 MB) |
| |
| NSS Memory (OFF) : 596,320,256 bytes (568.7 MB) |
| |
0x005D4000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,111,232 bytes (5.8 MB) |
| |
0x00000000 --------------------------------------------------------------

Top 6 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== =========================
=====
1. DS.NLM 10551.29 Aug 24, 2004 525,969,904 bytes (501.6
MB)
2. NSS.NLM 3.22 May 14, 2004 139,177,120 bytes (132.7
MB)
3. SERVER.NLM 5.70.02 Jun 11, 2004 104,613,002 bytes (99.8
MB)
4. CONNMGR.NLM 5.60 Jun 16, 2004 49,651,949 bytes (47.4
MB)
5. NCPIP.NLM 6.01 Jun 8, 2004 13,727,049 bytes (13.1
MB)
6. DSLOADER.NLM 10551.29 Aug 24, 2004 8,665,508 bytes (8.3 MB)



Logical Memory Summary Information
================================================== =========================
=====

File System Cache Information
FS Cache Free : 351,248,871 bytes (335.0 MB)
FS Cache Fragmented : 6,725,145 bytes (6.4 MB)
FS Cache Largest Segment : 322,527,232 bytes (307.6 MB)

Logical System Cache Information
LS Cache Free : 771,006,464 bytes (735.3 MB)
LS Cache Fragmented : 14,761,984 bytes (14.1 MB)
LS Cache Uninitialized : 0 bytes (0 KB)
LS Cache Largest Segment : 769,314,816 bytes (733.7 MB)
LS Cache Largest Position : 82254000

Summary Statistics
Total Free : 1,122,255,335 bytes (1.05 GB)
Total Fragmented : 21,487,129 bytes (20.5 MB)
Highest Physical Address : EFFDF000
User Space : 1,207,959,552 bytes (1.13 GB)
User Space (High Water Mark) : 539,250,688 bytes (514.3 MB)
NLM Memory (High Water Mark) : 964,567,040 bytes (919.9 MB)
Kernel Address Space In Use : 1,943,265,280 bytes (1.81 GB)
Available Kernel Address Space : 1,143,742,464 bytes (1.07 GB)


Memory Summary Screen (.ms)
================================================== =========================
=====

KNOWN MEMORY Bytes Pages Bytes Pages
Server: 4025896128 982884 Video: 8192 2
Dos: 109376 26 Other: 131072 32

FS CACHE KERNEL NLM MEMORY
Original: 4021907456 981911 Code: 37392384 9129
Current: 357974016 87396 Data: 20803584 5079
Dirty: 0 0 Sh Code: 45056 11
Largest seg: 322527232 78742 Sh Data: 20480 5
Non-Movable: 12288 3 Help: 139264 34
Other: 686747648 167663 Message: 1171456 286
Avail NSS: 0 0 Alloc L!=P: 893218816 218071
Movable: 8192 2 Alloc L==P: 786432 192
Total: 953577472 232807
VM SYSTEM
Free clean VM: 1759961088 429678
Free clean LP: 0 0
Free cache VM: 8110080 1980
Free cache LP: 0 0
Free dirty: 0 0
In use: 205938688 50278
Total: 1974009856 481936












Memory Configuration (set parameters)
================================================== =========================
=====

File Cache Maximum Size = 1073741824
File Service Memory Optimization = 1
Logical Space Compression = 1
Garbage Collection Interval = 299.9 seconds
VM Garbage Collector Period = 120.0 seconds
server -u<number> = 1040187392



NSS Configuration File:
C:\NWSERVER\NSSSTART.CFG
------------------------------
/nocachebalance
/minbuffercachesize=160000






DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
------------------------------
cache=450000000


Server High/Low Water Mark Values
================================================== =========================
=====

NLM Memory High Water Mark = 964,567,040 bytes
File System High Water Mark = 844,627 bytes

User Space Information:
User Space High Water Mark = 131,653 pages
Committed Pages High Water Mark = 101 pages
Mapped VM Pages High Water Mark = 15,946 pages
Reserved Pages High Water Mark = 268,407 pages
Swapped Pages High Water Mark = 2,631 pages

Available Low Water Mark = 2,107,920,384
ESM Memory High Water Mark = 0 pages







Thanks,

-Chuck