Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: Ian.Miller@softel.xxx (Ian Miller)
Subject: Re: Help: Virtual Memory exhausted. ( open VMS )
Date: 1997/06/16	[thread overview]
Message-ID: <slrn5qa3ro.gq3epa.Ian.Miller@gaspod.softel.co.uk> (raw)
In-Reply-To: NEWTNews.26591.866397113.parlevjo@pi-user.pi.net


On Sun, 15 Jun 97 10:38:48 PDT, parlevjo@pi.net <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.
*****************************************************************************



  reply	other threads:[~1997-06-16  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-07  4:00 Help: Virtual Memory exhausted. ( open VMS ) J. A. Jasmeer
1997-06-07  4:00 ` Carl Perkins
1997-06-09  4:00 ` Arne Vajhoej
1997-06-17  4:00   ` nospam
1997-06-15  4:00 ` parlevjo
1997-06-16  4:00   ` Ian Miller [this message]
1997-06-17  4:00     ` Michel BERENGUIER - DTN 7828-5144
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox