I have been having a problem with my groupwise server. After I reboot my
server (nw65sp6) it has about 425,000 total cache buffers and everything
works great. I have included the segstats for that below. Sometime during
the day (for sure whenever there is a full backup) and other times when the
groupwise database does a rebuild, the total cache buffers goes down to
235,000 range and I have lots of problems with groupwise (slow performance)

I notice when the problem happens I usually have a message on the logger
that says: NSS released 398945 cache pages upon request.

I have found the only solution is to reboot the server to clean it up and
it usually lasts until the next full backup. The segstats for problem time
is included below the original reboot one below.

Original reboot segstats:

*** Memory Pool Configuration for : CHAOS
Time and date : 07:08:02 PM 03/13/2007
Server version : NetWare 6.5 Support Pack 6
Server uptime : 0d 00h 03m 19s
SEG.NLM uptime : 0d 00h 00m 12s
SEG.NLM version : v2.00.17

Original Memory : 4,026,003,456 bytes (3.75 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 : 39,276,544 bytes (37.5 MB) |
| |
0xC0800000 --------------------------------------------------------------
| Virtual Memory Address Space (L!=P) |
| |
| VM Address Space : 2,155,872,256 bytes (2.01 GB) |
| Available : 1,246,437,376 bytes (1.16 GB) |
| Total VM Pages : 1,209,274,368 bytes (1.13 GB) |
| Free Clean VM : 1,209,274,368 bytes (1.13 GB) |
| Free Cache VM : 0 bytes (0 KB) |
| 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 : 676,331,520 bytes (645.0 MB) |
| NLM/VM Memory : 668,246,016 bytes (637.3 MB) |
| Largest Segment : 267,276,288 bytes (254.9 MB) |
| Lowest Kernel Page: 2,147,483,648 bytes (2.00 GB) |
| : [0x80000000] |
| High Water Mark : 699,060,224 bytes (666.7 MB) |
| Alloc Failures : 0 |
| |
0x40000000 --------------------------------------------------------------
| File System Address Space (L==P or L!=P) |
| |
| FS Address Space : 1,067,413,504 bytes (1018.0 MB) |
| Available : 293,199,872 bytes (279.6 MB) |
| Largest Segment : 286,310,400 bytes (273.0 MB) |
| |
| NSS Memory (85%) : 1,657,614,336 bytes (1.54 GB) |
| NSS (avail cache) : 1,654,820,864 bytes (1.54 GB) |
| |
0x00609000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,328,320 bytes (6.0 MB) |
| |
0x00000000 --------------------------------------------------------------


Total NLMs loaded on the server: 258



Top 20 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== ===============================
1. NWMKDE.NLM 7.94 Dec 11, 2001 219,333,849 bytes (209.2 MB)
2. NSS.NLM 3.25 Oct 6, 2006 140,731,328 bytes (134.2 MB)
3. SERVER.NLM 5.70.06 Oct 26, 2006 85,803,370 bytes (81.8 MB)
4. VS.NLM 3.60 Sep 28, 2005 41,597,335 bytes (39.7 MB)
5. DS.NLM 10553.73 Oct 9, 2006 20,003,854 bytes (19.1 MB)
6. NETSHLD.NLM 4.63 Jun 1, 2005 19,906,140 bytes (19.0 MB)
7. GWPOA.NLM 7.00.01 Jun 13, 2006 17,111,021 bytes (16.3 MB)
8. CIOS.NLM 1.60 Feb 7, 2006 10,277,013 bytes (9.8 MB)
9. GWMTA.NLM 7.00.01 Jun 13, 2006 8,631,130 bytes (8.2 MB)
10. GWENN5.NLM 7.00.01 Dec 14, 2006 5,862,055 bytes (5.6 MB)
11. FATFS.NLM 1.24 May 2, 2006 5,641,971 bytes (5.4 MB)
12. GWIA.NLM 7.00.01 Dec 14, 2006 5,477,251 bytes (5.2 MB)
13. APACHE2.NLM 2.00.59 Aug 2, 2006 4,666,405 bytes (4.5 MB)
14. DLOG.NLM 6.05.03 Aug 30, 2006 3,616,658 bytes (3.4 MB)
15. WS2_32.NLM 6.22.16 Sep 21, 2006 3,583,372 bytes (3.4 MB)
16. PORTAL.NLM 4.02 Sep 29, 2006 3,351,920 bytes (3.2 MB)
17. PKI.NLM 3.20 Aug 3, 2006 2,842,165 bytes (2.7 MB)
18. JVM.NLM 1.42.09 Jan 24, 2007 2,708,271 bytes (2.6 MB)
19. NAMED.NLM 6.05.02 Aug 11, 2006 2,642,587 bytes (2.5 MB)
20. LIB0.NLM 5.90.14 Nov 27, 2006 2,462,042 bytes (2.3 MB)






Top 20 NLM - Memory Trends
NLM Name Original Memory Current Change
================================================== ===============================
1. NWMKDE.NLM 219,333,849 bytes 219,333,849 bytes 0 KB
2. NSS.NLM 140,727,232 bytes 140,731,328 bytes 4 KB
3. SERVER.NLM 85,545,322 bytes 85,803,370 bytes 252 KB
4. VS.NLM 41,597,335 bytes 41,597,335 bytes 0 KB
5. DS.NLM 20,884,494 bytes 20,003,854 bytes -860 KB
6. NETSHLD.NLM 19,906,140 bytes 19,906,140 bytes 0 KB
7. GWPOA.NLM 14,477,293 bytes 17,111,021 bytes 2.5 MB
8. CIOS.NLM 10,277,013 bytes 10,277,013 bytes 0 KB
9. GWMTA.NLM 8,631,130 bytes 8,631,130 bytes 0 KB
10. GWENN5.NLM 5,862,055 bytes 5,862,055 bytes 0 KB
11. FATFS.NLM 5,641,971 bytes 5,641,971 bytes 0 KB
12. GWIA.NLM 5,170,051 bytes 5,477,251 bytes 300 KB
13. APACHE2.NLM 4,666,405 bytes 4,666,405 bytes 0 KB
14. DLOG.NLM 3,616,658 bytes 3,616,658 bytes 0 KB
15. WS2_32.NLM 3,583,372 bytes 3,583,372 bytes 0 KB
16. PORTAL.NLM 3,351,920 bytes 3,351,920 bytes 0 KB
17. PKI.NLM 2,842,165 bytes 2,842,165 bytes 0 KB
18. JVM.NLM 2,708,271 bytes 2,708,271 bytes 0 KB
19. NAMED.NLM 2,642,587 bytes 2,642,587 bytes 0 KB
20. LIB0.NLM 2,462,042 bytes 2,462,042 bytes 0 KB




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

File System Cache Information
FS Cache Free : 291,471,360 bytes (278.0 MB)
FS Cache Fragmented : 1,728,512 bytes (1.6 MB)
FS Cache Largest Segment : 286,310,400 bytes (273.0 MB)

Logical System Cache Information
LS Cache Free : 266,784,768 bytes (254.4 MB)
LS Cache Fragmented : 2,064,384 bytes (2.0 MB)
LS OS Reserved Data : 333,455,360 bytes (318.0 MB)
LS Cache Largest Segment : 267,276,288 bytes (254.9 MB)
LS Cache Largest Position : B0993000

Summary Statistics
Total Address Space : 4,294,967,296 bytes (4.00 GB)
Total Free : 1,631,997,952 bytes (1.52 GB)
Total Fragmented : 3,792,896 bytes (3.6 MB)
Highest Physical Address : EFFDF000
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) : 699,559,936 bytes (667.2 MB)
Kernel Address Space In Use : 2,482,180,096 bytes (2.31 GB)
Available Kernel Address Space : 743,641,088 bytes (709.2 MB)


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

KNOWN MEMORY Bytes Pages Bytes Pages
Server: 4025933888 982894 Video: 8192 2
Dos: 71616 17 Other: 131072 32

FS CACHE KERNEL NLM MEMORY
Original: 4021817344 981889 Code: 50507776 12331
Current: 293199872 71582 Data: 23355392 5702
Dirty: 0 0 Sh Code: 36864 9
Largest seg: 286310400 69900 Sh Data: 20480 5
Non-Movable: 12288 3 Help: 147456 36
Other: 1814843392 443077 Message: 1150976 281
Avail NSS: 1654820864 404009 Alloc L!=P: 582414336 142191
Movable: 8192 2 Alloc L==P: 10612736 2591
Total: 668246016 163146
VM SYSTEM
Free clean VM: 1209274368 295233
Free clean LP: 0 0
Free cache VM: 0 0
Free cache LP: 0 0
Free dirty: 0 0
In use: 39276544 9589
Total: 1246437376 304306





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
------------------------------
File does not exist,
or is zero byte in size.



DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
------------------------------
File does not exist,
or is zero byte in size.




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

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




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

Current NSS Memory Settings
-------------------------------------------
Cache Balance Percentage : 85%
Cache Memory Allocated : 1.54 GB
Available Cache from NSS : 1.54 GB


Current NSS Caching Percentages
-------------------------------------------
Buffer cache hit percentage : 95%
Name Tree cache hit percentage : 83%
File cache hit percentage : 97%

NSS Flush Status: Not Flushed




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

NLM Memory High Water Mark = 699,060,224 bytes
File System High Water Mark = 436,502 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,073 pages
Reserved Pages High Water Mark = 198,097 pages
Swapped Pages High Water Mark = 0 pages

Available Low Water Mark = 1,502,474,240
ESM Memory High Water Mark = 0 pages



Segstats when I am having problems after the nss release:

*** Memory Pool Configuration for : CHAOS
Time and date : 07:59:23 AM 03/14/2007
Server version : NetWare 6.5 Support Pack 6
Server uptime : 0d 12h 54m 53s
SEG.NLM uptime : 0d 12h 51m 33s
SEG.NLM version : v2.00.17

Original Memory : 4,026,003,456 bytes (3.75 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 : 37,740,544 bytes (36.0 MB) |
| |
0xC0800000 --------------------------------------------------------------
| Virtual Memory Address Space (L!=P) |
| |
| VM Address Space : 2,155,872,256 bytes (2.01 GB) |
| Available : 2,147,332,096 bytes (2.00 GB) |
| Total VM Pages : 2,109,669,376 bytes (1.96 GB) |
| Free Clean VM : 2,109,669,376 bytes (1.96 GB) |
| Free Cache VM : 0 bytes (0 KB) |
| 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 : 801,792,000 bytes (764.6 MB) |
| NLM/VM Memory : 793,878,528 bytes (757.1 MB) |
| Largest Segment : 487,215,104 bytes (464.6 MB) |
| Lowest Kernel Page: 1,073,741,824 bytes (1024.0 MB) |
| : [0x40000000] |
| High Water Mark : 968,306,688 bytes (923.4 MB) |
| Alloc Failures : 0 |
| |
0x40000000 --------------------------------------------------------------
| File System Address Space (L==P or L!=P) |
| |
| FS Address Space : 1,067,413,504 bytes (1018.0 MB) |
| Available : 135,839,744 bytes (129.5 MB) |
| Largest Segment : 126,627,840 bytes (120.8 MB) |
| |
| NSS Memory (85%) : 763,723,776 bytes (728.3 MB) |
| NSS (avail cache) : 753,184,768 bytes (718.3 MB) |
| |
0x00609000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,328,320 bytes (6.0 MB) |
| |
0x00000000 --------------------------------------------------------------


Total NLMs loaded on the server: 258



Top 20 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== ===============================
1. NWMKDE.NLM 7.94 Dec 11, 2001 218,969,305 bytes (208.8 MB)
2. NSS.NLM 3.25 Oct 6, 2006 189,723,584 bytes (180.9 MB)
3. SERVER.NLM 5.70.06 Oct 26, 2006 92,889,450 bytes (88.6 MB)
4. GWPOA.NLM 7.00.01 Jun 13, 2006 51,685,357 bytes (49.3 MB)
5. DS.NLM 10553.73 Oct 9, 2006 48,819,214 bytes (46.6 MB)
6. VS.NLM 3.60 Sep 28, 2005 41,556,375 bytes (39.6 MB)
7. NETSHLD.NLM 4.63 Jun 1, 2005 20,053,596 bytes (19.1 MB)
8. GWMTA.NLM 7.00.01 Jun 13, 2006 10,515,290 bytes (10.0 MB)
9. CIOS.NLM 1.60 Feb 7, 2006 10,236,053 bytes (9.8 MB)
10. GWIA.NLM 7.00.01 Dec 14, 2006 8,479,619 bytes (8.1 MB)
11. GWENN5.NLM 7.00.01 Dec 14, 2006 5,862,055 bytes (5.6 MB)
12. FATFS.NLM 1.24 May 2, 2006 5,641,971 bytes (5.4 MB)
13. APACHE2.NLM 2.00.59 Aug 2, 2006 4,666,405 bytes (4.5 MB)
14. DLOG.NLM 6.05.03 Aug 30, 2006 3,616,658 bytes (3.4 MB)
15. WS2_32.NLM 6.22.16 Sep 21, 2006 3,538,316 bytes (3.4 MB)
16. PORTAL.NLM 4.02 Sep 29, 2006 3,331,440 bytes (3.2 MB)
17. NAMED.NLM 6.05.02 Aug 11, 2006 3,183,259 bytes (3.0 MB)
18. JVM.NLM 1.42.09 Jan 24, 2007 2,691,887 bytes (2.6 MB)
19. PKI.NLM 3.20 Aug 3, 2006 2,551,349 bytes (2.4 MB)
20. LIB0.NLM 5.90.14 Nov 27, 2006 2,457,946 bytes (2.3 MB)






Top 20 NLM - Memory Trends
NLM Name Original Memory Current Change
================================================== ===============================
1. NWMKDE.NLM 219,333,849 bytes 218,969,305 bytes -356 KB
2. NSS.NLM 140,727,232 bytes 189,723,584 bytes 46.7 MB
3. SERVER.NLM 85,545,322 bytes 92,889,450 bytes 7.0 MB
4. GWPOA.NLM 41,597,335 bytes 51,685,357 bytes 9.6 MB
5. DS.NLM 14,477,293 bytes 48,819,214 bytes 32.8 MB
6. VS.NLM 19,906,140 bytes 41,556,375 bytes 20.6 MB
7. NETSHLD.NLM 20,884,494 bytes 20,053,596 bytes -811 KB
8. GWMTA.NLM 10,277,013 bytes 10,515,290 bytes 232 KB
9. CIOS.NLM 8,631,130 bytes 10,236,053 bytes 1.5 MB
10. GWIA.NLM 5,170,051 bytes 8,479,619 bytes 3.2 MB
11. GWENN5.NLM 5,862,055 bytes 5,862,055 bytes 0 KB
12. FATFS.NLM 5,641,971 bytes 5,641,971 bytes 0 KB
13. APACHE2.NLM 4,666,405 bytes 4,666,405 bytes 0 KB
14. DLOG.NLM 3,616,658 bytes 3,616,658 bytes 0 KB
15. WS2_32.NLM 3,583,372 bytes 3,538,316 bytes -44 KB
16. PORTAL.NLM 3,351,920 bytes 3,331,440 bytes -20 KB
17. NAMED.NLM 2,842,165 bytes 3,183,259 bytes 333 KB
18. JVM.NLM 2,642,587 bytes 2,691,887 bytes 48 KB
19. PKI.NLM 2,708,271 bytes 2,551,349 bytes -153 KB
20. LIB0.NLM 2,462,042 bytes 2,457,946 bytes -4 KB




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

File System Cache Information
FS Cache Free : 131,788,800 bytes (125.7 MB)
FS Cache Fragmented : 4,050,944 bytes (3.9 MB)
FS Cache Largest Segment : 126,627,840 bytes (120.8 MB)

Logical System Cache Information
LS Cache Free : 1,042,743,296 bytes (994.4 MB)
LS Cache Fragmented : 164,102,144 bytes (156.5 MB)
LS OS Reserved Data : 333,455,360 bytes (318.0 MB)
LS Cache Largest Segment : 487,215,104 bytes (464.6 MB)
LS Cache Largest Position : 4A940000

Summary Statistics
Total Address Space : 4,294,967,296 bytes (4.00 GB)
Total Free : 1,174,532,096 bytes (1.09 GB)
Total Fragmented : 168,153,088 bytes (160.4 MB)
Highest Physical Address : EFFDF000
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) : 968,306,688 bytes (923.4 MB)
Kernel Address Space In Use : 1,738,645,504 bytes (1.62 GB)
Available Kernel Address Space : 1,322,815,488 bytes (1.23 GB)


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

KNOWN MEMORY Bytes Pages Bytes Pages
Server: 4025933888 982894 Video: 8192 2
Dos: 71616 17 Other: 131072 32

FS CACHE KERNEL NLM MEMORY
Original: 4021817344 981889 Code: 50507776 12331
Current: 135839744 33164 Data: 23355392 5702
Dirty: 0 0 Sh Code: 36864 9
Largest seg: 126627840 30915 Sh Data: 20480 5
Non-Movable: 12288 3 Help: 147456 36
Other: 937099264 228784 Message: 1150976 281
Avail NSS: 753152000 183875 Alloc L!=P: 708071424 172869
Movable: 8192 2 Alloc L==P: 10588160 2585
Total: 793878528 193818
VM SYSTEM
Free clean VM: 2109669376 515056
Free clean LP: 0 0
Free cache VM: 0 0
Free cache LP: 0 0
Free dirty: 0 0
In use: 37740544 9214
Total: 2147332096 524251





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
------------------------------
File does not exist,
or is zero byte in size.



DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
------------------------------
File does not exist,
or is zero byte in size.




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

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




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

Current NSS Memory Settings
-------------------------------------------
Cache Balance Percentage : 85%
Cache Memory Allocated : 728.3 MB
Available Cache from NSS : 718.3 MB


Current NSS Caching Percentages
-------------------------------------------
Buffer cache hit percentage : 93%
Name Tree cache hit percentage : 79%
File cache hit percentage : 96%

NSS Flush Status: Flushed




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

NLM Memory High Water Mark = 968,306,688 bytes
File System High Water Mark = 436,502 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,195 pages
Reserved Pages High Water Mark = 198,097 pages
Swapped Pages High Water Mark = 0 pages

Available Low Water Mark = 1,361,764,352
ESM Memory High Water Mark = 0 pages