Re: How to change the quotas for a symbiont ? (539 Views)
Reply
Honored Contributor
labadie_1
Posts: 1,221
Registered: ‎08-07-2003
Message 1 of 7 (552 Views)
Accepted Solution

How to change the quotas for a symbiont ?

Hi

 

I have a symbiont dying from time to time with an exceeded bytlm quota.


If memory serves me, a symbiont gets his quotas from the JOBCTL process, in the file

SYS$COMMON:[SYS$STARTUP]VMS$CONFIG-050_JOBCTL.COM


But this file is superseded when I apply a patch or upgrade my system.

 

Is there a better way to start a symbiont with specific quotas?

 

I am reluctant to raise the PQL because they apply to all the processes.

 

Thanks

Honored Contributor
Volker Halle
Posts: 5,206
Registered: ‎04-26-2004
Message 2 of 7 (546 Views)

Re: How to change the quotas for a symbiont ?

You're right, JOBCTL performs a $GETJPI on itself to get it's process quotas during initilization and then uses these values, when it creates a symbiont process. So if your symbiont crashes due to exceeding BYTLM and if that's not a memory leak inside your symbiont code, you'll need to increase the quotas of JOBCTL in VMS$CONFIG-050_JOBCTL.COM and remember to re-apply that change again, if an upgrade would replace that file.

 

Volker.

Honored Contributor
labadie_1
Posts: 1,221
Registered: ‎08-07-2003
Message 3 of 7 (541 Views)

Re: How to change the quotas for a symbiont ?

Thanks Volker.

The symbiont is just a LPD using TCPIP stack from HP.

It is a pity that there is not the opportunity to use some logical name, and if that logical is not defined, use some UAF or default value.
Honored Contributor
Volker Halle
Posts: 5,206
Registered: ‎04-26-2004
Message 4 of 7 (539 Views)

Re: How to change the quotas for a symbiont ?

The fact that it's the TCPIP$LPD_SMB process does not rule out the possible 'memory leak', which you won't be able to heal by increasing BYTLM anyway.

 

A method to increase quotas for specific symbiont processes would need to be implemented outside the symbiont itself in the base operating system. And asking for those kinds of changes for OpenVMS may be a little late...

 

Volker. 

Honored Contributor
labadie_1
Posts: 1,221
Registered: ‎08-07-2003
Message 5 of 7 (536 Views)

Re: How to change the quotas for a symbiont ?

VMS Engineering will be in Paris in a few days for the TUD.

I will ask them at least a question.

Thanks.

Gérard
Honored Contributor
Hoff
Posts: 4,962
Registered: ‎01-29-2006
Message 6 of 7 (523 Views)

Re: How to change the quotas for a symbiont ?

It's a bug in the symbiont processing or its underpinnings, which means patching to current followed by a call to HP support center.  

 

Either the Job Control process quotas are too low, or the symbiont has a resource leak.

 

Once the TCP stack and core VMS pieces and queue-related pieces are patched to current, save off the symbiont dump file (if you're getting one) and call HP support.

 

The obvious fix or workaround (if there's no support contract here) is an edit to sys$startup:vms$config-050_jobctl.com to increase the process quotas, but that change might be little more than a workaround.  It would only postpone the symbiont failure when there's a leak, and not resolve the leak.

Honored Contributor
John Gillings
Posts: 2,995
Registered: ‎07-31-2003
Message 7 of 7 (503 Views)

Re: How to change the quotas for a symbiont ?

Gerard,

   How high does it have to be? Simplest mechanism would be PQL_MBYTLM. If your target is high enough to worry about granting it to everyone, you could do something like this:

 

SETSYSGEN.COM

$ IF p2.EQS.""
$ THEN
$   IF F$TYPE(old'p1').EQS."" THEN EXIT
$   p2=old'p1'
$   DELETEX/SYMBOL/GLOBAL old'p1'
$ ELSE
$   old'p1'==F$GETSYI(p1)
$ ENDIF
$ w="WRITE SYS$OUTPUT"
$ PIPE (w "USE ACTIVE" ; w "SET ''p1' ''p2'" ; w "WRITE ACTIVE") | MCR SYSGEN

 Usage:

$ @SETSYSGEN PQL_MBYTLM 99000000
$ Start your symbiont here
$ @SETSYSGEN PQL_MBYTLM

 

 

A crucible of informative mistakes
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.