Hello,

We've had a hard time finding a memory tuning configuration that will
keep our GW WebAccess server happy for more than 4-6 weeks. Looking at
NoRM today shows a memory issue in Health Monitor: Available Logical
Space is 170MB. It has been memcalced in the past however we've found
it necessary to double the recommended -u space as Groupwise is loaded
into protected memory. Below is a memcalc output from this morning. I
have not applied the changes. I've also posted a segstats. Suggestions
would be much appreciated.

+------------------------------------------------------------------------+
MemCalc - Current/Recommended Settings
--- C:\AUTOEXEC.BAT --------------- Current ----- Recommended -
Server -uXXXXXXXXX 1,505,969,664 704,643,072
--- C:\NWSERVER\STARTUP.NCF ------------+---------------+---------------
Auto Tune Server Memory OFF OFF
File Cache Maximum Size 2,043,674,624 1,318,060,032
FS Cache Pool Minimum Pages 521,579 442,507
FS Cache Pool Desired Pages 524,288 524,288
FS Cache Pool Lots Of Pages 524,288 524,288
VM Cache Pool Percentage 5 5
VM Cache Pool Maximum Pages % 5 5
--- SYS:_NETWARE\_NDSDB.INI ---+---------------+---------------
cache 16,777,216 16,777,216
preallocatecache true true
--- SYS:SYSTEM\SMSSTART.NCF ---+---------------+---------------
TSAFS Switch
+------------------------------------------------------------------------+

Here is a segstats output:


*** Memory Pool Configuration for : ARTEMIS
Time and date : 08:38:22 AM 06/19/2006
Server version : NetWare 6.5 Support Pack 5
Server uptime : 22d 18h 16m 55s
SEG.NLM version : v1.72

0xFFFFFFFF --------------------------------------------------------------
| Kernel Reserved Space |
| |
| Size : 180,355,071 bytes (172.0 MB) |
| |
0xF5400000 --------------------------------------------------------------
| User Address Space (L!=P) |
| |
| User Pool Size : 1,507,852,288 bytes (1.40 GB) |
| High Water Mark : 3,523,215,360 bytes (3.28 GB) |
| |
0x9B600000 --------------------------------------------------------------
| Virtual Memory Cache Pool (L!=P) |
| |
| VM Pool Size : 564,133,888 bytes (538.0 MB) |
| Available : 974,356,480 bytes (929.2 MB) |
| Total VM Pages : 929,828,864 bytes (886.8 MB) |
| Free Clean VM : 886,013,952 bytes (845.0 MB) |
| Free Cache VM : 43,814,912 bytes (41.8 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 : 44,527,616 bytes (42.5 MB) |
| NLM Memory In Use : 1,114,779,648 bytes (1.04 GB) |
| NLM/VM Memory : 566,226,944 bytes (540.0 MB) |
| Largest Segment : 3,203,072 bytes (3.1 MB) |
| High Water Mark : 622,948,352 bytes (594.1 MB) |
| |
0x79C00000 --------------------------------------------------------------
| File System Cache Pool (L==P or L!=P) |
| |
| FS Pool Size : 2,036,359,168 bytes (1.90 GB) |
| Available : 266,391,552 bytes (254.1 MB) |
| Largest Segment : 130,461,696 bytes (124.4 MB) |
| |
| NSS Memory (85%) : 1,505,689,600 bytes (1.40 GB) |
| NSS (avail cache) : 1,397,542,912 bytes (1.30 GB) |
| |
0x005FA000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,266,880 bytes (6.0 MB) |
| |
0x00000000 --------------------------------------------------------------

Top 6 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== ==============================
1. GWINTER.NLM 5.70.05 Apr 11, 2006 353,484,520 bytes
(337.1 MB)
2. NSS.NLM 3.24.01 Mar 10, 2006 279,667,488 bytes
(266.7 MB)
3. SERVER.NLM 10552.79 Aug 9, 2005 129,657,338 bytes
(123.7 MB)
4. GWIA.NLM 2.00.54 Oct 31, 2005 75,769,785 bytes
(72.3 MB)
5. DS.NLM 7.00 Dec 14, 2005 22,386,446 bytes
(21.3 MB)
6. WSPIP.NLM 7.00 Dec 14, 2005 17,291,632 bytes
(16.5 MB)



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

File System Cache Information
FS Cache Free : 131,690,496 bytes (125.6 MB)
FS Cache Fragmented : 134,701,056 bytes (128.5 MB)
FS Cache Largest Segment : 130,461,696 bytes (124.4 MB)

Logical System Cache Information
LS Cache Free : 0 bytes (0 KB)
LS Cache Fragmented : 49,340,416 bytes (47.1 MB)
LS Cache Uninitialized : 333,455,360 bytes (318.0 MB)
LS Cache Largest Segment : 3,203,072 bytes (3.1 MB)
LS Cache Largest Position : 3B19F000

Summary Statistics
Total Free : 131,690,496 bytes (125.6 MB)
Total Fragmented : 184,041,472 bytes (175.5 MB)
Highest Physical Address : CFFBF000
User Space : 1,688,207,360 bytes (1.57 GB)
User Space (High Water Mark) : 3,523,215,360 bytes (3.28 GB)
NLM Memory (High Water Mark) : 622,948,352 bytes (594.1 MB)
Kernel Address Space In Use : 2,291,027,968 bytes (2.13 GB)
Available Kernel Address Space : 315,731,968 bytes (301.1 MB)


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

KNOWN MEMORY Bytes Pages Bytes Pages
Server: 3488931888 851790 Video: 8192 2
Dos: 71632 17 Other: 131072 32

FS CACHE KERNEL NLM MEMORY
Original: 3484852224 850794 Code: 44916736 10966
Current: 266391552 65037 Data: 22093824 5394
Dirty: 0 0 Sh Code: 40960 10
Largest seg: 130461696 31851 Sh Data: 20480 5
Non-Movable: 0 0 Help: 0 0
Other: 1771687936 432541 Message: 1056768 258
Avail NSS: 1397542912 341197 Alloc L!=P: 490938368 119858
Movable: 8192 2 Alloc L==P: 7159808 1748
Total: 566226944 138239
VM SYSTEM
Free clean VM: 886013952 216312
Free clean LP: 0 0
Free cache VM: 43814912 10697
Free cache LP: 0 0
Free dirty: 0 0
In use: 44527616 10871
Total: 974356480 237880












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

Auto Tune Server Memory = OFF
File Cache Maximum Size = 2043674624
File Service Memory Optimization = 1
Logical Space Compression = 1
Garbage Collection Interval = 299.9 seconds
VM Garbage Collector Period = 300.0 seconds
server -u<number> = 1507852288



NSS Configuration File:
C:\NWSERVER\NSSSTART.CFG
------------------------------
File does not exist,
or is zero byte in size.



DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
------------------------------
#cacheadjustinterval=15
#cachecleanupinterval=15
#blockcachepercent=50
#cache=16777216
#preallocatecache=true

cache=16777216
preallocatecache=true



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

NLM Memory High Water Mark = 622,948,352 bytes
File System High Water Mark = 418,356 bytes

User Space Information:
User Space High Water Mark = 704,454,656 bytes
Committed Pages High Water Mark = 2,291 pages
Mapped VM Pages High Water Mark = 11,621 pages
Reserved Pages High Water Mark = 583,407 pages
Swapped Pages High Water Mark = 21,010 pages

Available Low Water Mark = 1,171,800,064
ESM Memory High Water Mark = 1,102 pages