Hi

Can someone advise whether our segstats and recommened memcalc settings
look ok? We are experiencing various memory issues and abends (mostly
different, hardware ruled out we believe).

Some advice would be very welcome before we go to Novell Support via an
incident.

SEGSTATS.TXT TAKEN AFTER 4 HOURS RUNNING

Time and date : 04:01:18 PM 03/28/2006
Server version : NetWare 6.5 Support Pack 5
Server uptime : 0d 02h 02m 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 : 884,998,144 bytes (844.0 MB)
|
| High Water Mark : 2,936,012,800 bytes (2.73 GB)
|
|
|
0xC0800000
--------------------------------------------------------------
| Virtual Memory Cache Pool (L!=P)
|
|
|
| VM Pool Size : 2,155,872,256 bytes (2.01 GB)
|
| Available : 470,126,592 bytes (448.3 MB)
|
| Total VM Pages : 268,296,192 bytes (255.9 MB)
|
| Free Clean VM : 237,035,520 bytes (226.1 MB)
|
| Free Cache VM : 31,260,672 bytes (29.8 MB)
|
| Total LP Pages : 41,992,192 bytes (40.0 MB)
|
| Free Clean LP : 41,992,192 bytes (40.0 MB)
|
| Free Cache LP : 0 bytes (0 KB)
|
| Free Dirty : 0 bytes (0 KB)
|
| VM Pages In Use : 159,838,208 bytes (152.4 MB)
|
| NLM Memory In Use : 599,736,320 bytes (572.0 MB)
|
| NLM/VM Memory : 590,233,600 bytes (562.9 MB)
|
| Largest Segment : 300,916,736 bytes (287.0 MB)
|
| High Water Mark : 670,347,264 bytes (639.3 MB)
|
|
|
0x40000000
--------------------------------------------------------------
| File System Cache Pool (L==P or L!=P)
|
|
|
| FS Pool Size : 1,067,470,848 bytes (1018.0 MB)
|
| Available : 1,448,206,336 bytes (1.35 GB)
|
| Largest Segment : 1,246,932,992 bytes (1.16 GB)
|
|
|
| NSS Memory (25%) : 483,688,448 bytes (461.3 MB)
|
| NSS (avail cache) : 480,251,904 bytes (458.0 MB)
|
|
|
0x005FB000
--------------------------------------------------------------
| DOS / SERVER.NLM
|
|
|
| Size : 6,270,976 bytes (6.0 MB)
|
|
|
0x00000000
--------------------------------------------------------------

Top 6 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== ==============================
1. DBSRV8.NLM 8.00.02 4 Nov 2003 138,787,407 bytes
(132.4 MB)
2. SERVER.NLM 5.70.05 16 Dec 2005 137,935,642 bytes
(131.5 MB)
3. NSS.NLM 3.24 29 Nov 2005 135,775,072 bytes
(129.5 MB)
4. DS.NLM 10552.79 9 Aug 2005 30,115,598 bytes
(28.7 MB)
5. MM.NLM 3.21.07 1 Nov 2005 23,055,478 bytes
(22.0 MB)
6. FILESYS.NLM 5.14 21 Nov 2005 9,752,215 bytes (9.3
MB)



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

File System Cache Information
FS Cache Free : 1,441,697,792 bytes (1.34 GB)
FS Cache Fragmented : 6,508,544 bytes (6.2 MB)
FS Cache Largest Segment : 1,246,932,992 bytes (1.16 GB)

Logical System Cache Information
LS Cache Free : 300,916,736 bytes (287.0 MB)
LS Cache Fragmented : 10,321,920 bytes (9.8 MB)
LS Cache Uninitialized : 333,455,360 bytes (318.0 MB)
LS Cache Largest Segment : 300,916,736 bytes (287.0 MB)
LS Cache Largest Position : 9E6C4000

Summary Statistics
Total Free : 1,742,614,528 bytes (1.62 GB)
Total Fragmented : 16,830,464 bytes (16.1 MB)
Highest Physical Address : BFFF2000
User Space : 1,065,353,216 bytes (1016.0 MB)
User Space (High Water Mark) : 2,936,012,800 bytes (2.73 GB)
NLM Memory (High Water Mark) : 670,347,264 bytes (639.3 MB)
Kernel Address Space In Use : 1,470,169,088 bytes (1.37 GB)
Available Kernel Address Space : 1,759,444,992 bytes (1.64 GB)


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

KNOWN MEMORY Bytes Pages Bytes
Pages
Server: 3220699568 786303 Video: 8192
2
Dos: 76368 18 Other: 131072
32

FS CACHE KERNEL NLM MEMORY
Original: 3216617472 785307 Code: 47497216
11596
Current: 1448206336 353566 Data: 23904256
5836
Dirty: 0 0 Sh Code: 53248
13
Largest seg: 1246932992 304427 Sh Data: 20480
5
Non-Movable: 16384 4 Help: 172032
42
Other: 665808896 162551 Message: 1327104
324
Avail NSS: 480251904 117249 Alloc L!=P: 512987136
125241
Movable: 55820288 13628 Alloc L==P: 4272128
1043
Total: 590233600
144100
VM SYSTEM
Free clean VM: 237035520 57870
Free clean LP: 41992192 10252
Free cache VM: 31260672 7632
Free cache LP: 0 0
Free dirty: 0 0
In use: 159838208 39023
Total: 470126592 114777

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

Auto Tune Server Memory = ON
File Cache Maximum Size = 1073741824
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> = 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
------------------------------
;cache=50331648
;cacheadjustinterval=15
;cachecleanupinterval=15
;blockcachepercent=50
;preallocatecache=true

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

NLM Memory High Water Mark = 670,347,264 bytes
File System High Water Mark = 168,155 bytes

User Space Information:
User Space High Water Mark = 683,339,776 bytes
Committed Pages High Water Mark = 87 pages
Mapped VM Pages High Water Mark = 41,231 pages
Reserved Pages High Water Mark = 947,427 pages
Swapped Pages High Water Mark = 10,072 pages

Available Low Water Mark = 1,756,401,664
ESM Memory High Water Mark = 0 pages


SEGSTATS RECOMMENDATION FROM ABOVE!!

NLM Memory = 590233600
NLMHWM Memory = 670347264
DS Memory = 30115598
Phys Memory = 3216617472
UAS Memory = 683339776

Calculating settings based on following values:

Physical memory (Bytes) : 3,216,617,472
NLM Footprint (Bytes) : 590,233,600
NLM High Water (Bytes) : 670,347,264
UAS (Bytes) : 683,339,776
DS Foot print (Bytes) : 30,115,598

Execute these commands on the console, then add them to the end of
startup.ncf,
and make sure they are not being set in autoexec.ncf.

set auto tune server memory=off
set file cache maximum size=2302672896
set fs cache pool minimum pages=543117
set fs cache pool desired pages=543117
set fs cache pool lots of pages=543117
set vm cache pool percentage=5
set vm cache pool maximum pages percentage=5

Edit sys:_netware\_ndsdb.ini - create if not existing and add these
lines:

cache=33554432
cacheadjustinterval=15
cachecleanupinterval=15
blockcachepercent=50
preallocatecache=true

Edit c:\autoexec.bat and add "-u683339776" to the server line