Operating System - OpenVMS
1752810 Members
6109 Online
108789 Solutions
New Discussion юеВ

Re: maximum files opened by a process

 
SOLVED
Go to solution
Morcos
Super Advisor

maximum files opened by a process

Hi all,
I'm studying for the openVms exam and I have a question :
run process/detached/file_limit=30
If PQL_MFILLM=50 or any value >30
what is the maximum files that can be opened by this process.
If anyone has an idea i'll be grateful and thx in advance.
5 REPLIES 5
Uwe Zessin
Honored Contributor

Re: maximum files opened by a process

PQL_MFILLM will override other sources when it is higher. That is valid for other PQL_M* parameters as well.

Good luck on the exam!
.
Kris Clippeleyr
Honored Contributor
Solution

Re: maximum files opened by a process

Hi,

FILLM is maximized against PQL_MFILLM.
According to the docs:


A process cannot be created with a quota less than this minimum. Any quota value you specify is maximized against this minimum.
...
Open file quota. This quota limits the number of files that a process can have open at one time.
Minimum: PQL_MFILLM
Default: PQL_DFILLM
Pooled

Note however that it is a "pooled" quota, meaning:

Pooled quotas are established when a detached process is created, and they are shared by that process and all its descendent subprocesses. Charges against pooled quota values are subtracted from the current available totals as they are used and are added back to the total when they are not being used.


Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Wim Van den Wyngaert
Honored Contributor

Re: maximum files opened by a process

And don't forget your std files (sys$*). They eat the quota too.

Wim
Wim
Uwe Zessin
Honored Contributor

Re: maximum files opened by a process

There is FILLM and CHANNELCNT. Not all I/O channels are counted against FILLM.

.
John Gillings
Honored Contributor

Re: maximum files opened by a process

ziad,

It looks like the point of your question is for you to recognise that the PQL_M parameters override lower quota settings, like qualifiers to the RUN command.

Keep in mind that the OpenVMS exam questions avoid tricks and trivia. Just stick to the facts presented.

A crucible of informative mistakes