[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2329.0. "Insufficient DInamic Memory with Exporter" by NEXUS6::BERNECICH () Wed Feb 12 1992 15:59

	With mcc V1.1 I had problems with setting up alarms for very few nodes
(less than 25) and also with Exporter (ACCVIOs/system-hungs). These problems
still appeared after installing t1.2.4 so I started thinking if it was just a
matter of crude mips/memory lack or something else.
It was VS3100/76 with 32mb memory and some RZ56/57s.

I then switched to a 6420 with 94Mb of memory and some RA90s (an operation not
all Customers could afford...)

The system can now handle about 30 entities and their alarms but the EXPORT
facility crashes after some minutes with "insufficient dynamic memory" into its
logfile.

AUDIT_MCC.COM ran without a glich and our local SYstem Mungler certified the
system software as "satisfactorily tuned".

What is it? Do I need a 9000?

I'm including some system snapshots together with the logfile of the EXPORTER.

Thanks for your attention,
Enrico.

------------------------------------- MEMORY -----------------------------------
$ show mem
              System Memory Resources on 12-FEB-1992 18:39:26.91

Physical Memory Usage (pages):     Total        Free      In Use    Modified
  Main Memory (96.00Mb)           196608      108508       81948        6152

Slot Usage (slots):                Total        Free    Resident     Swapped
  Process Entry Slots                 50          17          33           0
  Balance Set Slots                   48          17          31           0

Fixed-Size Pool Areas (packets):   Total        Free      In Use        Size
  Small Packet (SRP) List           2048        1040        1008         112
  I/O Request Packet (IRP) List     1021         397         624         176
  Large Packet (LRP) List            100          69          31        1648

Dynamic Memory Usage (bytes):      Total        Free      In Use     Largest
  Nonpaged Dynamic Memory        1999872     1298880      700992     1227104
  Paged Dynamic Memory           1499648     1217696      281952     1213424

Paging File Usage (pages):                      Free  Reservable       Total
  DISK$VAXVMSRL054:[SYS0.SYSEXE]SWAPFILE.SYS
                                                4496        4496        4496
  DISK$VAXVMSRL054:[SYS0.SYSEXE]PAGEFILE.SYS
                                               86277      -20887      100000

Of the physical pages in use, 17365 pages are permanently allocated to VMS.

------------------------------------- SYSUAF ------------------------------------
UAF> show system

Username: SYSTEM                           Owner:  SYSTEM MANAGER
Account:  SYSTEM                           UIC:    [1,4] ([SYSTEM])
CLI:      DCL                              Tables: DCLTABLES
Default:  SYS$SYSROOT:[SYSMGR]
LGICMD:   LOGIN
Flags:
Primary days:   Mon Tue Wed Thu Fri
Secondary days:                     Sat Sun
No access restrictions
Expiration:            (none)    Pwdminimum:  8   Login Fails:     0
Pwdlifetime:         30 00:00    Pwdchange:   3-FEB-1992 18:39
Last Login: 12-FEB-1992 16:29 (interactive), 12-FEB-1992 18:27 (non-interactive)
Maxjobs:         0  Fillm:       256  Bytlm:       131292
Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0
Maxdetach:       0  BIOlm:        72  JTquota:       1024
Prclm:          16  DIOlm:        60  WSdef:          256
Prio:            4  ASTlm:       100  WSquo:         2048
Queprio:         0  TQElm:       128  WSextent:     20000
CPU:        (none)  Enqlm:      6000  Pgflquo:      60000
Authorized Privileges:
  CMKRNL CMEXEC SYSNAM GRPNAM ALLSPOOL DETACH DIAGNOSE LOG_IO
  GROUP ACNT PRMCEB PRMMBX PSWAPM ALTPRI SETPRV TMPMBX WORLD
  OPER EXQUOTA NETMBX VOLPRO PHY_IO BUGCHK PRMGBL SYSGBL MOUNT
  PFNMAP SHMEM SYSPRV BYPASS SYSLCK SHARE GRPPRV READALL
  SECURITY
Default Privileges:
  CMKRNL CMEXEC SYSNAM GRPNAM ALLSPOOL DETACH DIAGNOSE LOG_IO
  GROUP ACNT PRMCEB PRMMBX PSWAPM ALTPRI SETPRV TMPMBX WORLD
  OPER EXQUOTA NETMBX VOLPRO PHY_IO BUGCHK PRMGBL SYSGBL MOUNT
  PFNMAP SHMEM SYSPRV BYPASS SYSLCK SHARE GRPPRV READALL
  SECURITY

---------------------------------- SYSGEN/MAJOR ----------------------------------
SYSGEN>  SHOW/MAJ


Parameters in use: Active
Parameter Name            Current    Default     Min.     Max.     Unit  Dynamic
--------------            -------    -------    -------  -------   ----  -------
PFCDEFAULT                     64         32         0       127 Pages      D
GBLSECTIONS                   500        250        60      4095 Sections
GBLPAGES                   100000      10000       512        -1 Pages
MAXPROCESSCNT                  50         32        12      8192 Processes
SMP_CPUS                       -1         -1         0        -1 CPU bitmas
SYSMWCNT                     2127        500        40     16384 Pages
BALSETCNT                      48         16         4      8192 Slots
IRPCOUNT                      600         60         0    135168 Packets
WSMAX                       20000       1024        60    200000 Pages
NPAGEDYN                  1999872     360000     16384        -1 Bytes
PAGEDYN                   1499648     190000     10240        -1 Bytes
VIRTUALPAGECNT             204608       9216       512   1000000 Pages
LRPCOUNT                      100          4         0      4096 Packets
SRPCOUNT                     2048        120         0    270336 Packets
QUANTUM                        20         20         2     32767 10Ms       D
PFRATL                          0          0         0        -1 Flts/10Sec D
PFRATH                        120        120         0        -1 Flts/10Sec D
WSINC                         150        150         0        -1 Pages      D
WSDEC                         250        250         0        -1 Pages      D
FREELIM                        68         32        16        -1 Pages
FREEGOAL                     1600        200        16        -1 Pages
GROWLIM                      1599         63         0        -1 Pages      D
BORROWLIM                    2000        300         0        -1 Pages      D
LOCKIDTBL                     544        200        40    262144 Entries
LOCKIDTBL_MAX               65535      65535       200    262144 Entries    D
RESHASHTBL                    512         64         1      8192 Entries
SYSGEN>

---------------------------------- EXPORTER LOGFILE -----------------------------
...
$!
$! end_of wait procedure
$!
$       BTS == "$SYS$SYSTEM:MCC_EXPORTER_FM_BG.EXE"
$       BTS "SYS$LOGIN:MCC_EXPORT.RDB"
%CMA-F-EXCCOP, exception raised; VMS condition code follows
%Thread 172 terminating with exception:
%SYSTEM-F-INSFMEM, insufficient dynamic memory
-SYSTEM-F-INSFMEM, insufficient dynamic memory
  SYSTEM       job terminated at 12-FEB-1992 17:19:53.14

  Accounting information:
  Buffered I/O count:            1944         Peak working set size:   16328
  Direct I/O count:               668         Peak page file size:     54627
  Page faults:                  22162         Mounted volumes:             0
  Charged CPU time:           0 00:02:00.39   Elapsed time:     0 00:12:23.85
$
T.RTitleUserPersonal
Name
DateLines
2329.1what version of VMS are you running?TOOK::SHMUYLOVICHWed Feb 12 1992 20:451
    
2329.2V5.4-2NEXUS6::BERNECICHThu Feb 13 1992 06:208
re: -1

$ show sys
VAX/VMS V5.4-2  on node NWSSIT  13-FEB-1992 09:01:48.42   Uptime  0 17:56:09
  Pid    Process Name    State  Pri      I/O       CPU       Page flts Ph.Mem
00000041 SWAPPER         HIB     16        0   0 00:00:56.98         0      0
00000242 BATCH_335       HIB      5   188537   0 00:35:46.96     22413  16837  B
...
2329.3UP PGFLQUO, DOWN WSMAXRACER::daveAttending The School of Comparative IrrevelevanceThu Feb 13 1992 12:1316
Your pagefile quota is really very small.  As was discussed a LONG
time ago in this file, exporter EATS LOTS of memory.  Try bumping
PGFLQUO over 120000.  I also seem to remember some set of problems
discussed is some other notes file that I follow (associative memory 
(e.g. mine) sometimes fails) about having WSMAX greater than 2^15-1.

So,
	Set WSEXTENT (and WSMAX) to less than 16767
	Set PGFLQUO to over 120000
	
I also Set

	JTQUOTA to 10000
	BYTLM to 300000
	ASTLM to 200
	TQElm to 200
2329.4PGFLQUO should not be larger than your Page file itselfMOLAR::ROBERTSKeith Roberts - DECmcc Toolkit TeamThu Feb 13 1992 12:2511
  RE: .3

  >> Try bumping PGFLQUO over 120000.

  Your Page File is 100,000 blocks.  I would recommend not making your
  PGFLQUO larger than your Page File.  Your system *may* hang, requiring
  a reboot.  This is because you are allowing a process to consume more
  Page File than you actually have.

  /keith
2329.5More pagefile?TOOK::R_SPENCENets don't fail me now...Thu Feb 13 1992 14:414
    You may need more pagefile. The number of 100k is a minimum. I use
    150k blocks.
    
    s/rob
2329.6NYFDIN::SAMBAMURTYRajaThu Feb 13 1992 15:508
    Re: .3
    
    WSMAX can be larger than 16K depending on the total memory on the
    system (in fact should be larger for a machine
    with lots of memory). For a 32Meg machine, there should be about 64K
    pages, so it is safe to set WSMAX to 40,000 pages (there is actaully a
    formula for settng WSMAX, setting it beyond the formula, would inihbit
    pool expansion)