Title: | RMS asks, 'R U Journaled?' |
Moderator: | STAR::TSPEER UVEL |
Created: | Tue Mar 11 1986 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3031 |
Total number of notes: | 12302 |
Our customer has a process that is exhausting a system resource. The situation can be readily reproduced on their VAX or the AlphaServer 4100 (running OpenVMS 6.2 1-H-3), but we're having trouble identifying the resource. The problem occurs while opening a large (260+) number of files. RMS returns error 115020, which is: %RMS-F-CRMP, CRMPSC system service failed to map global buffers while opening a file. The FDL for the file (all the files were created with the same FDL) is: IDENT " 2-NOV-1993 16:47:35 VAX/VMS ANALYZE/RMS_FILE Utility" SYSTEM SOURCE VAX/VMS FILE ALLOCATION 12 BEST_TRY_CONTIGUOUS yes CLUSTER_SIZE 6 CONTIGUOUS no EXTENSION 6 FILE_MONITORING yes GLOBAL_BUFFER_COUNT 0 ORGANIZATION sequential PROTECTION (system:RWE, owner:RWED, group:RWED, world:) RECORD BLOCK_SPAN yes CARRIAGE_CONTROL none FORMAT variable SIZE 0 They've captured the results of SYSGEN SHOW /ALL to a file, first before the program runs, then while the program is running but just before it hits its limit. The values captured were: Parameters in use: Active Parameter Name Current Default Min. Max. Unit Dynamic -------------- ------- ------- ------- ------- ---- ------- PFCDEFAULT 64 64 0 2032 Pagelets internal value 4 4 0 127 Pages GBLSECTIONS 600 250 80 3276 Sections GBLPAGES 155060 30720 10240 -1 Pagelets internal value 9692 1920 640 -1 Pages GBLPAGFIL 1024 128 32 -1 Pages MAXPROCESSCNT 589 32 12 8192 Processes SMP_CPUS -1 -1 0 -1 CPU bitmas MULTIPROCESSING 3 3 0 4 Coded-valu VECTOR_PROC 1 1 0 3 Coded-valu SMP_SANITY_CNT 300 300 1 -1 10ms. SMP_SPINWAIT 100000 100000 1 8388607 10 usec. SMP_LNGSPINWAIT 3000000 3000000 1 8388607 10 usec. PROCSECTCNT 64 32 5 1024 Sections MINWSCNT 20 20 10 -1 Pure-numbe PAGFILCNT 4 4 4 63 Files SWPFILCNT 2 2 0 63 Files SYSMWCNT 9172 2048 512 65536 Pagelets internal value 574 128 32 4096 Pages KSTACKPAGES 1 1 1 768 Pages BALSETCNT 587 30 8 8192 Slots WSMAX 262144 4096 1024 1048576 Pagelets internal value 16384 256 64 65536 Pages NPAGEDYN 3899392 1048576 163840 -1 Bytes NPAGEVIR 19529728 8388608 163840 -1 Bytes PAGEDYN 5406720 212992 65536 -1 Bytes VIRTUALPAGECNT 1056768 65536 2048 4194304 Pagelets internal value 66048 4096 128 -262144 Pages QUANTUM 20 20 2 32767 10Ms MPW_WRTCLUSTER 64 64 16 512 Pages MPW_HILIMIT 16384 512 64 65535 Pages MPW_LOLIMIT 1761 16 0 65535 Pages MPW_IOLIMIT 4 4 1 127 I/O MPW_THRESH 3522 16 0 65536 Pages MPW_WAITLIMIT 16640 576 64 65535 Pages MPW_LOWAITLIMIT 16128 448 56 65535 Pages FILE_CACHE 10 10 0 100 Percent PFRATL 0 0 0 -1 PFRATH 8 8 0 -1 WSINC 2400 2400 0 -1 Pagelets internal value 150 150 0 -1 Pages WSDEC 4000 4000 0 -1 Pagelets internal value 250 250 0 -1 Pages AWSMIN 512 512 0 -1 Pagelets internal value 32 32 0 -1 Pages AWSTIME 20 20 1 -1 10Ms SWPOUTPGCNT 512 512 0 -1 Pagelets internal value 32 32 0 -1 Pages LONGWAIT 30 30 0 65535 Seconds DORMANTWAIT 2 2 0 65535 Seconds TIMVCFAIL 1600 1600 100 65535 10Ms ERRORLOGBUFFERS 10 4 2 64 Buffers DUMPSTYLE 1 0 0 -1 Bitmask USERD1 0 0 0 -1 USERD2 0 0 0 -1 USER3 0 0 0 -1 USER4 0 0 0 -1 EXTRACPU 1000 1000 0 -1 10Ms MAXSYSGROUP 8 8 1 32768 UIC Group MVTIMEOUT 3600 3600 1 64000 Seconds TAPE_MVTIMEOUT 600 600 1 64000 Seconds MAXBUF 8192 8192 4096 64000 Bytes DEFMBXBUFQUO 1056 1056 256 64000 Bytes DEFMBXMXMSG 256 256 64 64000 Bytes FREELIM 607 32 16 -1 Pages FREEGOAL 2348 200 16 -1 Pages GROWLIM 607 63 0 -1 Pages BORROWLIM 607 300 0 -1 Pages XFMAXRATE 236 236 0 255 Special LAMAPREGS 0 0 0 255 Mapregs CLISYMTBL 512 512 48 1024 Pagelets LOCKIDTBL 1792 1792 1792 4194304 Entries LOCKIDTBL_MAX 65535 65535 1792 4194304 Entries RESHASHTBL 2048 64 1 65535 Entries DEADLOCK_WAIT 10 10 0 -1 Seconds SCSBUFFCNT 50 50 0 32767 Entries SCSCONNCNT 5 40 2 32767 Entries SCSRESPCNT 300 300 0 32767 Entries SCSMAXDG 576 576 28 985 Bytes SCSMAXMSG 132 132 52 985 Bytes SCSFLOWCUSH 1 1 0 16 Credits SCSSYSTEMID 1029 0 -1 -1 Pure-numbe SCSSYSTEMIDH 0 0 -1 -1 Pure-numbe SCSNODE "RHE " " " " " "ZZZZ" Ascii PRCPOLINTERVAL 30 30 1 32767 Seconds PASTIMOUT 5 5 1 99 Seconds PASTDGBUF 4 4 1 16 Buffers PANUMPOLL 16 16 1 223 Ports PAMAXPORT 32 32 0 223 Port-numbe PAPOLLINTERVAL 5 5 1 32767 Seconds PAPOOLINTERVAL 15 15 1 32767 Seconds PASANITY 1 1 0 1 Boolean PANOPOLL 0 0 0 1 Boolean TIMEPROMPTWAIT 65535 -1 0 -1 uFortnight UDABURSTRATE 0 0 0 31 Longwords LNMSHASHTBL 512 512 128 8192 Entries LNMPHASHTBL 512 512 128 8192 Entries BUGREBOOT 1 1 0 1 Boolean CRDENABLE 1 1 0 1 Boolean DUMPBUG 1 1 0 1 Boolean BUGCHECKFATAL 0 0 0 1 Boolean ACP_MULTIPLE 0 0 0 1 Boolean SETTIME 0 0 0 1 Boolean ACP_SHARE 1 1 0 1 Boolean UAFALTERNATE 0 0 0 1 Boolean SAVEDUMP 0 0 0 1 Boolean CLASS_PROT 0 0 0 1 Boolean LGI_BRK_TERM 1 1 0 1 Boolean LGI_BRK_DISUSER 0 0 0 1 Boolean LOAD_PWD_POLICY 0 0 0 1 Boolean ACP_XQP_RES 1 1 0 1 Boolean ACP_REBLDSYSD 1 1 0 1 Boolean MOUNTMSG 0 0 0 1 Boolean DISMOUMSG 0 0 0 1 Boolean TTY_SCANDELTA 10000000 10000000 100000 -1 100Ns TTY_DIALTYPE 0 0 0 255 Bit-Encode TTY_SPEED 15 15 1 17 Special TTY_RSPEED 0 0 0 17 Special TTY_PARITY 24 24 0 255 Special TTY_BUF 80 80 0 511 Characters TTY_DEFCHAR 402657952 402657952 0 -1 Bit-Encode TTY_DEFCHAR2 4098 4098 0 -1 Bit-Encode TTY_TYPAHDSZ 78 78 1 32767 Bytes TTY_ALTYPAHD 200 200 1 32767 Bytes TTY_ALTALARM 64 64 0 -1 Bytes TTY_DMASIZE 64 64 0 -1 Bytes TTY_CLASSNAME "TT" "TT" "AA" "ZZ" Ascii TTY_SILOTIME 8 8 0 255 Ms TTY_TIMEOUT 900 900 0 -1 Seconds TTY_AUTOCHAR 7 7 0 255 Character RMS_DFMBC 16 16 1 127 Blocks RMS_DFMBFSDK 0 0 0 127 Blocks RMS_DFMBFSMT 0 0 0 127 Blocks RMS_DFMBFSUR 0 0 0 127 Buffers RMS_DFMBFREL 0 0 0 127 Buffers RMS_DFMBFIDX 0 0 0 127 Buffers RMS_DFMBFHSH 0 0 0 127 Buffers RMS_PROLOGUE 0 0 0 3 Prolog-Lvl RMS_EXTEND_SIZE 0 0 0 65535 Blocks RMS_FILEPROT 64000 64000 0 65535 Prot-mask RMS_GBLBUFQUO 1024 1024 0 32767 Gbl bufs RMS_DFNBC 8 8 1 127 Blocks PQL_DASTLM 24 24 -1 -1 Ast PQL_MASTLM 100 4 -1 -1 Ast PQL_DBIOLM 32 32 -1 -1 I/O PQL_MBIOLM 100 4 -1 -1 I/O PQL_DBYTLM 65536 65536 -1 -1 Bytes PQL_MBYTLM 100000 1024 -1 -1 Bytes PQL_DCPULM 0 0 -1 -1 10Ms PQL_MCPULM 0 0 -1 -1 10Ms PQL_DDIOLM 32 32 -1 -1 I/O PQL_MDIOLM 100 4 -1 -1 I/O PQL_DFILLM 128 128 -1 -1 Files PQL_MFILLM 100 2 -1 -1 Files PQL_DPGFLQUOTA 65536 65536 -1 -1 Pagelets internal value 4096 4096 0 -1 Pages PQL_MPGFLQUOTA 32768 2048 -1 -1 Pagelets internal value 2048 128 128 -1 Pages PQL_DPRCLM 32 32 -1 -1 Processes PQL_MPRCLM 10 0 -1 -1 Processes PQL_DTQELM 16 16 -1 -1 Timers PQL_MTQELM 0 0 -1 -1 Timers PQL_DWSDEFAULT 1984 1024 -1 -1 Pagelets internal value 124 64 0 -1 Pages PQL_MWSDEFAULT 1984 512 -1 -1 Pagelets internal value 124 32 32 -1 Pages PQL_DWSQUOTA 3968 2048 -1 -1 Pagelets internal value 248 128 0 -1 Pages PQL_MWSQUOTA 3968 1024 -1 -1 Pagelets internal value 248 64 64 -1 Pages PQL_DWSEXTENT 262144 16384 -1 -1 Pagelets internal value 16384 1024 0 -1 Pages PQL_MWSEXTENT 262144 2048 -1 -1 Pagelets internal value 16384 128 128 -1 Pages PQL_DENQLM 64 64 -1 -1 Locks PQL_MENQLM 300 4 -1 -1 Locks PQL_DJTQUOTA 4096 4096 -1 -1 Bytes PQL_MJTQUOTA 0 0 -1 -1 Bytes ACP_MAPCACHE 293 9 2 -1 Blocks ACP_HDRCACHE 1174 36 8 -1 Blocks ACP_DIRCACHE 1174 22 4 -1 Blocks ACP_DINDXCACHE 293 26 2 -1 Blocks ACP_WORKSET 0 0 0 -1 Pagelets ACP_FIDCACHE 64 64 0 -1 File-Ids ACP_EXTCACHE 64 64 0 -1 Extents ACP_EXTLIMIT 100 100 0 1000 Percent/10 ACP_QUOCACHE 589 64 0 2337 Users ACP_SYSACC 58 8 0 -1 Directorie ACP_MAXREAD 32 32 1 64 Blocks ACP_WINDOW 7 7 1 -1 Pointers ACP_WRITEBACK 1 1 0 1 Boolean ACP_DATACHECK 2 2 0 3 Bit-mask ACP_BASEPRIO 8 8 4 31 Priority ACP_SWAPFLGS 14 15 0 15 Bit-mask DEFPRI 4 4 1 31 Priority IJOBLIM 64 64 1 8192 Jobs BJOBLIM 16 16 0 1024 Jobs NJOBLIM 16 16 0 1024 Jobs RJOBLIM 16 16 0 65535 Jobs DEFQUEPRI 100 100 0 255 Priority MAXQUEPRI 100 100 0 255 Priority LGI_PWD_TMO 30 30 0 255 Seconds LGI_RETRY_LIM 3 3 0 255 Tries LGI_RETRY_TMO 20 20 2 255 Seconds LGI_BRK_LIM 5 5 1 255 Failures LGI_BRK_TMO 300 300 0 5184000 Seconds LGI_HID_TIM 300 300 01261440000 Seconds VAXCLUSTER 0 1 0 2 Coded-valu EXPECTED_VOTES 1 1 1 127 Votes VOTES 1 1 0 127 Votes RECNXINTERVAL 20 20 1 32767 Seconds DISK_QUORUM " " " " " " "ZZZZ" Ascii QDSKVOTES 1 1 0 127 Votes QDSKINTERVAL 10 10 1 32767 Seconds ALLOCLASS 0 0 0 255 Pure-numbe LOCKDIRWT 0 0 0 255 Pure-numbe NISCS_CONV_BOOT 0 0 0 1 Boolean NISCS_LOAD_PEA0 0 0 0 1 Boolean NISCS_PORT_SERV 0 0 0 3 Bit-encode MSCP_LOAD 0 0 0 16384 Coded-valu TMSCP_LOAD 0 0 0 3 Coded-valu MSCP_SERVE_ALL 0 0 0 2 Coded-valu TMSCP_SERVE_ALL 0 0 0 3 Coded-valu MSCP_BUFFER 128 128 16 -1 Coded-valu MSCP_CREDITS 8 8 2 128 Coded-valu TAILORED 0 0 0 1 Boolean STARTUP_P1 " " " " " " "zzzz" Ascii STARTUP_P2 " " " " " " "zzzz" Ascii STARTUP_P3 " " " " " " "zzzz" Ascii STARTUP_P4 " " " " " " "zzzz" Ascii STARTUP_P5 " " " " " " "zzzz" Ascii STARTUP_P6 " " " " " " "zzzz" Ascii STARTUP_P7 " " " " " " "zzzz" Ascii STARTUP_P8 " " " " " " "zzzz" Ascii MMG_CTLFLAGS 3 3 0 -1 Bit-mask WINDOW_SYSTEM 1 0 0 2 Pure-numbe ERLBUFFERPAGES 4 4 2 32 Pagelets TAPE_ALLOCLASS 0 0 0 255 Pure-numbe VECTOR_MARGIN 100 100 1 -1 Pure-numbe SHADOWING 0 0 0 3 Coded-valu SHADOW_SYS_DISK 0 0 0 -1 Bit_Code SHADOW_SYS_UNIT 0 0 0 9999 Unit SHADOW_MAX_COPY 1 4 0 42 Threads LGI_CALLOUTS 0 0 0 255 Count NET_CALLOUTS 0 0 0 255 Count IEEE_ADDRESS 0 0 -1 -1 Pure-numbe IEEE_ADDRESSH 0 0 -1 -1 Pure-numbe SHADOW_MBR_TMO 20 20 1 65535 Seconds ZERO_LIST_HI 1024 16 0 65535 Pages GH_EXEC_CODE 512 512 0 2048 Pages GH_EXEC_DATA 128 128 0 2048 Pages GH_RES_CODE 1024 512 0 2048 Pages GH_RES_DATA 0 0 0 2048 Pages GH_RSRVPGCNT 0 0 0 2048 Pages NISCS_MAX_PKTSZ 1498 1498 1080 8192 Bytes NISCS_LAN_OVRHD 18 18 0 256 Bytes SECURITY_POLICY 7 7 0 -1 Bit-mask WLKSYSDSK 0 0 0 1 Boolean DBGTK_SCRATCH 1 1 0 10 Pages IMGREG_PAGES 2000 600 0 10000 Pages SHADOW_SYS_TMO 20 20 1 65535 Seconds SHADOW_SYS_WAIT 256 256 1 65535 Seconds SHADOW_REMOVE_1 " " " " " " "ZZZZ" Ascii SHADOW_REMOVE_2 " " " " " " "ZZZZ" Ascii SYSTEM_CHECK 0 0 0 1 Coded-valu DR_UNIT_BASE 0 0 0 9900 Any idea as to what is causing this CRMPSC system service failure to map global buffers? Or who should I talk to about this challenge? I am hoping it is something simple that I am overlooking. One more piece of information: Four AlphaServer 4100 systems sale hinges on finding and correcting this problem. Thanks, Cloyce Home office # 419 891-9635
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3026.1 | FILE_MONITORING yes | STAR::EWOODS | Thu May 01 1997 13:53 | 44 | |
<<Our customer has a process that is exhausting a system resource. The <<situation can be readily reproduced on their VAX or the AlphaServer 4100 <<(running OpenVMS 6.2 1-H-3), but we're having trouble identifying the <<resource. The problem occurs while opening a large (260+) number of <<files. RMS returns error 115020, which is: << <<%RMS-F-CRMP, CRMPSC system service failed to map global buffers << <<while opening a file. The FDL for the file (all the files were created <<with the same FDL) is: <<FILE FILE_MONITORING yes ! This option results in a global section being created for the file to collect statistics on any operations on the file on an on-going basis. This option is no by default, so I presume that the customer has a reason for deliberately requesting this option. So each file that is created with this FDL will use 1 unit of GBLSECTIONS (or in total for just these 260 files, 260 units). The global section for statistics monitoring is currently only 1 page in size but it will result in each file using 1 unit of GBLPAGES and 1 unit of GBLPAGFIL (or for all 260 files, 260 gblpages and 260 gblpagfil). This is OVER and ABOVE any existing applications' use of these parameters. The most likely culprit in this case is gblsections. But their gblpagfil is so low, it could be it as well. There is a sequence of articles on global buffers in note 8 of this conference. While in this case, RMS global buffers are not being set on these files, the information on the above 3 sysgen parameters is very relevant. Article 8.4, for example, gives you a step-by-step example on how to find out how many units of these 3 parameters are currently in use on a running system. These parameters are cheap, so don't try to calculate precisely how many are needed. Since correcting the problem requires a reboot of the system (and autogen advised), if that can't be done until later, a quick workaround to the problem would be to change the FILE_MONITORING line in the FDL file to "no" (assuming all the creates are working off the FDL file). If it requires editing 260 FDL files, I suspect they will want to wait until they can reboot the system. -- Elinor |