From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,538e05b81bd76795 X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,538e05b81bd76795 X-Google-Attributes: gid10f8a1,public X-Google-Thread: f73f6,538e05b81bd76795 X-Google-Attributes: gidf73f6,public X-Google-Thread: fc7fa,538e05b81bd76795 X-Google-Attributes: gidfc7fa,public From: Ian.Miller@softel.xxx (Ian Miller) Subject: Re: Help: Virtual Memory exhausted. ( open VMS ) Date: 1997/06/16 Message-ID: #1/1 X-Deja-AN: 248781452 X-NNTP-Posting-Host: softel.demon.co.uk [194.222.21.226] References: <5nc0gi$iop@news.informix.com> Organization: Softel Ltd. Reply-To: Ian.Miller at softel Newsgroups: vmsnet.internals,vmsnet.alpha,comp.sys.vms,comp.os.vms On Sun, 15 Jun 97 10:38:48 PDT, parlevjo@pi.net wrote: > >If you are running VMS V6.1 or V6.2 there could be a problem with the SYSGEN >parameters: > PQL_MWSDEFAULT > PQL_MWSEXTENT >There is a bug in AUTOGEN which sets those paramaters to WSMAX. >So almost every process on the system can grow to wsmax, because when created >a process it allways takes for WSEXTENT the maximum of PQL_MWSEXTENT and what's >defined in SYSUAF or the WSEXTENT of the batch queue. >On my system i got a lot of problems all regarding to memory,virtual memory, >etc. >You got more problems if the WSMAX on your system in higher than normal. > >In AUTOGEN.COM there are 2 lines like > IF PQL_MWSDEFAULT .LT. WSMAX THEN PQL_MWSDEFAULT = WSMAX > IF PQL_MWSEXTENT .LT. WSMAX THEN PQL_MWSEXTENT = WSMAX >In both lines the ".LT." must be changed to ".GT." >I believe in version VMS 7.1 this is fixed. > >If you type in at DCL: $ SHOW WORK >you can easily see if the WSEXTENT is as high as WSMAX. > >By the way: At the moment i donot have connection to a VAX system so i am >typing al this by heart. SO there could be things misspelled. > I looked at OpenVMS VAX V6.2 and found the relevent section at LINE 2780 $param_name = "PQL_DWSEXTENT" $Gosub Get_Param_Limits $temp = pql_dwsdefault * 2 $IF MMG_CTLFLAGS .NE. 0 $THEN $IF temp .LT. WSMAX then temp = WSMAX !**** CHANGE .LT. to .GT. $ENDIF $GOSUB Check_overrides $IF temp .NE. pql_dwsextent THEN GOSUB output_overrides $param_name = "PQL_MWSEXTENT" $Gosub Get_Param_Limits $temp = pql_mwsdefault * 2 $IF MMG_CTLFLAGS .NE. 0 $THEN $IF temp .LT. WSMAX then temp = WSMAX !**** CHANGE .LT. to .GT. $ENDIF $GOSUB Check_overrides $IF temp .NE. pql_mwsextent THEN GOSUB output_overrides I Wonder If there is a reason for this. I see this is only done if MMG_CTLFLAGS is not 0. i.e. proactive memory reclaimation is enabled. Can any DECbody say if this is deliberate or a bug ? -- **************************************************************************** Ian Miller "The time has come",the walrus said Teletext Dept.,Softel "to speak of many things". Tel: +44 118 9842151 from "Through the looking glass" Ian.Miller at softel.co.uk by Lewis Carrol. PSImail: 243273400398::IAN Disclaimer - I said this stuff myself. My employer had nothing to do with it. *****************************************************************************