Hi,
It looks like I'm having problems with memory fragmentation on a server.
Here is the segstats file:

*** Memory Pool Configuration for : XXXXX
Time and date : 04:11:30 PM 03/11/2007
Server version : NetWare 6.5 Support Pack 6
Server uptime : 17d 07h 13m 06s
SEG.NLM uptime : 0d 00h 07m 17s
SEG.NLM version : v2.00.17

Original Memory : 2,147,020,800 bytes (2.00 GB)
0xFFFFFFFF --------------------------------------------------------------
| Kernel Reserved Space |
| |
| Size : 180,355,071 bytes (172.0 MB) |
| |
0xF5400000 --------------------------------------------------------------
| User Address Space (L!=P) |
| |
| User Pool Size : 884,998,144 bytes (844.0 MB) |
| High Water Mark : 297,218,048 bytes (283.4 MB) |
| PM Pages In Use : 3,502,080 bytes (3.3 MB) |
| |
0xC0800000 --------------------------------------------------------------
| Virtual Memory Address Space (L!=P) |
| |
| VM Address Space : 2,155,872,256 bytes (2.01 GB) |
| Available : 517,005,312 bytes (493.1 MB) |
| Total VM Pages : 513,536,000 bytes (489.7 MB) |
| Free Clean VM : 489,484,288 bytes (466.8 MB) |
| Free Cache VM : 24,051,712 bytes (22.9 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) |
| NLM Memory In Use : 684,331,008 bytes (652.6 MB) |
| NLM/VM Memory : 673,693,696 bytes (642.5 MB) |
| Largest Segment : 64,741,376 bytes (61.7 MB) |
| Lowest Kernel Page: 0 bytes (0 KB) |
| : [0x00000000] |
| High Water Mark : 930,717,696 bytes (887.6 MB) |
| Alloc Failures : 0 |
| |
0x40000000 --------------------------------------------------------------
| File System Address Space (L==P or L!=P) |
| |
| FS Address Space : 1,067,454,464 bytes (1018.0 MB) |
| Available : 181,968,896 bytes (173.5 MB) |
| Largest Segment : 168,693,760 bytes (160.9 MB) |
| |
| NSS Memory (85%) : 646,348,800 bytes (616.4 MB) |
| NSS (avail cache) : 561,635,328 bytes (535.6 MB) |
| |
0x005FF000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,287,360 bytes (6.0 MB) |
| |
0x00000000 --------------------------------------------------------------


Total NLMs loaded on the server: 222



Top 20 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== ===============================
1. DS.NLM 10553.73 2006 Oct 9 293,075,982 bytes (279.5
MB)
2. NSS.NLM 3.25 2006 Oct 6 208,634,816 bytes (199.0
MB)
3. SERVER.NLM 5.70.06 2006 Oct 26 67,896,010 bytes (64.8
MB)
4. NETSHLD.NLM 4.63 2005 Jun 1 19,799,644 bytes (18.9
MB)
5. FATFS.NLM 1.24 2006 May 2 5,768,947 bytes (5.5 MB)
6. APACHE2.NLM 2.00.59 2006 Aug 2 4,674,597 bytes (4.5 MB)
7. WS2_32.NLM 6.22.16 2006 Sep 21 3,509,644 bytes (3.3 MB)
8. PORTAL.NLM 4.02 2006 Sep 29 3,392,880 bytes (3.2 MB)
9. CONNMGR.NLM 5.60.01 2006 Sep 7 3,286,035 bytes (3.1 MB)
10. NWMKDE.NLM 7.94 2001 Dec 11 3,077,337 bytes (2.9 MB)
11. CIOS.NLM 1.60 2006 Feb 7 2,932,885 bytes (2.8 MB)
12. JVM.NLM 1.42.07 2006 Sep 14 2,669,535 bytes (2.5 MB)
13. PKI.NLM 3.20 2006 Aug 3 2,551,349 bytes (2.4 MB)
14. LIB0.NLM 5.90.14 2006 Sep 5 2,449,754 bytes (2.3 MB)
15. CDBE.NLM 6.01 2006 Sep 21 2,406,624 bytes (2.3 MB)
16. NDSIMON.NLM 20210.97 2006 Sep 12 2,263,081 bytes (2.2 MB)
17. NWENC103.NLM 7.90 2001 Feb 24 2,134,781 bytes (2.0 MB)
18. LIBC.NLM 9.00.04 2006 Oct 4 1,961,318 bytes (1.9 MB)
19. MCSCAN32.NLM 44.00 2004 Sep 23 1,944,139 bytes (1.9 MB)
20. APRLIB.NLM 0.09.12 2006 Aug 2 1,762,600 bytes (1.7 MB)






Top 20 NLM - Memory Trends
NLM Name Original Memory Current Change
================================================== ===============================
1. DS.NLM 292,711,438 bytes 293,075,982 bytes 356 KB
2. NSS.NLM 208,335,808 bytes 208,634,816 bytes 292 KB
3. SERVER.NLM 67,809,994 bytes 67,896,010 bytes 84 KB
4. NETSHLD.NLM 19,799,644 bytes 19,799,644 bytes 0 KB
5. FATFS.NLM 5,768,947 bytes 5,768,947 bytes 0 KB
6. APACHE2.NLM 4,674,597 bytes 4,674,597 bytes 0 KB
7. WS2_32.NLM 3,509,644 bytes 3,509,644 bytes 0 KB
8. PORTAL.NLM 3,392,880 bytes 3,392,880 bytes 0 KB
9. CONNMGR.NLM 3,281,939 bytes 3,286,035 bytes 4 KB
10. NWMKDE.NLM 3,077,337 bytes 3,077,337 bytes 0 KB
11. CIOS.NLM 2,932,885 bytes 2,932,885 bytes 0 KB
12. JVM.NLM 2,669,535 bytes 2,669,535 bytes 0 KB
13. PKI.NLM 2,551,349 bytes 2,551,349 bytes 0 KB
14. LIB0.NLM 2,449,754 bytes 2,449,754 bytes 0 KB
15. CDBE.NLM 2,406,624 bytes 2,406,624 bytes 0 KB
16. NDSIMON.NLM 2,357,289 bytes 2,263,081 bytes -92 KB
17. NWENC103.NLM 2,134,781 bytes 2,134,781 bytes 0 KB
18. LIBC.NLM 1,961,318 bytes 1,961,318 bytes 0 KB
19. MCSCAN32.NLM 1,944,139 bytes 1,944,139 bytes 0 KB
20. APRLIB.NLM 1,762,600 bytes 1,762,600 bytes 0 KB




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

File System Cache Information
FS Cache Free : 172,937,216 bytes (164.9 MB)
FS Cache Fragmented : 9,031,680 bytes (8.6 MB)
FS Cache Largest Segment : 168,693,760 bytes (160.9 MB)

Logical System Cache Information
LS Cache Free : 191,508,480 bytes (182.6 MB)
LS Cache Fragmented : 1,374,658,560 bytes (1.28 GB)
LS OS Reserved Data : 299,900,928 bytes (286.0 MB)
LS Cache Largest Segment : 64,741,376 bytes (61.7 MB)
LS Cache Largest Position : 283CD000

Summary Statistics
Total Address Space : 4,294,967,296 bytes (4.00 GB)
Total Free : 364,445,696 bytes (347.6 MB)
Total Fragmented : 1,383,690,240 bytes (1.29 GB)
Highest Physical Address : 7FFFF000
User Space : 884,998,144 bytes (844.0 MB)
User Space (High Water Mark) : 297,218,048 bytes (283.4 MB)
NLM Memory (High Water Mark) : 930,717,696 bytes (887.6 MB)
Kernel Address Space In Use : 1,443,876,864 bytes (1.34 GB)
Available Kernel Address Space : 402,046,976 bytes (383.4 MB)


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

KNOWN MEMORY Bytes Pages Bytes Pages
Server: 2146951216 524158 Video: 8192 2
Dos: 71632 17 Other: 131072 32

FS CACHE KERNEL NLM MEMORY
Original: 2142851072 523157 Code: 33185792 8102
Current: 181968896 44426 Data: 18440192 4502
Dirty: 0 0 Sh Code: 36864 9
Largest seg: 168693760 41185 Sh Data: 20480 5
Non-Movable: 12288 3 Help: 139264 34
Other: 1222733824 298519 Message: 1114112 272
Avail NSS: 561635328 137118 Alloc L!=P: 617566208 150773
Movable: 8192 2 Alloc L==P: 3190784 779
Total: 673693696 164476
VM SYSTEM
Free clean VM: 489484288 119503
Free clean LP: 0 0
Free cache VM: 24051712 5872
Free cache LP: 0 0
Free dirty: 0 0
In use: 3502080 855
Total: 517005312 126222





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

Auto Tune Server Memory = ON
File Cache Maximum Size = 1073741825
File Service Memory Optimization = 1
Logical Space Compression = 1
Garbage Collection Interval (ON) = 299.9 seconds
VM Garbage Collector Period (ON) = 300.0 seconds
server -u<number> = 884998144



NSS Configuration File:
C:\NWSERVER\NSSSTART.CFG
------------------------------
/AuthCacheSize=30000
/NumWorkToDos=100
/MinBufferCacheSize=20000
/MinOsBufferCacheSize=20000
/CacheBalanceMaxBuffersPerSession=20000
/CacheUserMaxPercent=70
/AllocAheadBlks=63



DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
------------------------------
cache=409600000
cacheadjustinterval=15
cachecleanupinterval=15
blockcachepercent=50



TSAFS Memory Information/Configuration
================================================== ==============================

Cache Memory Threshold : 10%
Read Buffer Size : 65536 bytes
Max Data Sets for Read Ahead : 2
Read Threads Per Job : 4




NSS Memory Information/Configuration
================================================== ==============================

Current NSS Memory Settings
-------------------------------------------
Cache Balance Percentage : 85%
Cache Memory Allocated : 616.4 MB
Available Cache from NSS : 535.6 MB


Current NSS Caching Percentages
-------------------------------------------
Buffer cache hit percentage : 92%
Name Tree cache hit percentage : 75%
File cache hit percentage : 98%

NSS Flush Status: Not Flushed




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

NLM Memory High Water Mark = 930,717,696 bytes
File System High Water Mark = 349,089 bytes

User Space Information:
User Space High Water Mark = 297,218,048 bytes
Committed Pages High Water Mark = 91 pages
Mapped VM Pages High Water Mark = 9,211 pages
Reserved Pages High Water Mark = 70,976 pages
Swapped Pages High Water Mark = 9,469 pages

Available Low Water Mark = 288,313,344
ESM Memory High Water Mark = 0 pages