Operating System - HP-UX
1834908 Members
2926 Online
110071 Solutions
New Discussion

Re: max num of system wide files

 
SOLVED
Go to solution
A Pandey
Frequent Advisor

max num of system wide files

Hello,

We got a documentation from our application s/w vendor which mentioned certain kernel parameters and their respective values.

However they did not give the actual parameter name...just a description:

1.Max num of user processes

2. Max num of system users

3. Max num of semaphores

4. Max num of per-process open files

5. Max num of system wide files

6. Max num of system processes.

I have managed to figure most of them

1. maxuprc
2. maxusers
3. semmns
4. maxfiles OR maxfiles_lim
5. nfile?
6. nproc

I just wanted some confirmation from you all that this seems ok?

thanks,

ap.
11 REPLIES 11
Don Morris_1
Honored Contributor
Solution

Re: max num of system wide files

Looks right to me, though I think maxfiles_lim is more in the spirit (since processes can increase their soft limit [determined by maxfiles]). (Presumably you're on 11i v1 or 11.0, since maxusers was obsoleted on 11i v2...)
RAC_1
Honored Contributor

Re: max num of system wide files

See it here.

http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html
There is no substitute to HARDWORK
Biswajit Tripathy
Honored Contributor

Re: max num of system wide files

If you are on HP-UX 11i v2, then all the above kernel
tunables have a manpage explaining what it does
and min/max/failsafe/default values.

- Biswajit
:-)
Robert Bennett_3
Respected Contributor

Re: max num of system wide files

reference this document

http://docs.hp.com/en/TKP-90202/index.html

nfile is typically a formula utilizing Nproc (defined value of nproc), MaxUsers (defined value of maxusers)and npty. Since you are changing nproc and maxusers already - see if the cumulative affect has brought nfile up to needed value already.

Hope this helps,

B
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean
A Pandey
Frequent Advisor

Re: max num of system wide files

thanks guys...

i am on HP 11.00 ... but will go through the docsmt and let you know what happens.
Devender Khatana
Honored Contributor

Re: max num of system wide files

Hi Pandey,

Apart from these there are some other application related parameters for instance. dbc_max_pct. So take a close look at all before proceeding.The value os many parameters are normally decided based on your application.

HTH,
Devender
Impossible itself mentions "I m possible"
A Pandey
Frequent Advisor

Re: max num of system wide files

hi again,

I came across in other manuals that I need to increase MSGMNI from 69 (currently set) to 1068.

What does MSGMNI do now?

I need a more regular english explanation...
A. Clay Stephenson
Acclaimed Contributor

Re: max num of system wide files

Msgmni determines the maximum number of message queues allowed on the system.

Message queues, semaphores, and shared memory comprise the components of UNIX IPCS (InterProcess Communication System).

A good method to know what each of these do is Sam ->Kernel Configuration -> Configurable Paramters. Select the desired tunables and press to bring up the help.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: max num of system wide files

Here's some excepts from SAM's Help On Configurable Parameters that may help:

"msgmni defines the maximum number of message queue identifiers allowed on the system at any given time. One message queue identifier is needed for each message queue created on the system. "


"Overview of Message Queue Operation
Messages
Messages are small collections of data (400 bytes, for example) that can be passed between cooperating programs through a message queue. Messages within a queue can be of different types, and any process with proper permissions can receive the messages. A receiving process can retrieve the first message, the first message of a given
type, or the first message of a group of types. See the HP-UX Reference entry msgop(2) for more information.

Message Queues
Message queues are implemented as linked lists of data stored in shared memory. The message queue itself contains a series of data structures, one for each message, each of which identifies the address, type, and size of the message plus a pointer to the next message in the queue. "


Pete

Pete
A Pandey
Frequent Advisor

Re: max num of system wide files

thanks for the great responses. I am almost ready to do the necessary changes. just a couple of more questions:

I need to change nproc from 2048 to 2804. I see that nsysmap needs some change also since it has a formula of:

( ( NPROC) > 800?2*(NPROC) : 800)

which I guess means that if NPROC is greater than 800 then nsysmap should be 2*nproc = 2*2804=5608 in my case.

Now is the interesting part: I don't see nsysmap in SAM->Kernel Config->Config Prmeters->

So i guess i could change all the parameters from command line...then reboot from sam?

thanks for your time and help.

regards,

ap
Devender Khatana
Honored Contributor

Re: max num of system wide files

Hi Pandey,

It should always be there. All the kernel parameters are listed in kernel config through SAM also.

Although there should be no problem doing it through command line.

HTH,
Devender
Impossible itself mentions "I m possible"