Operating System - HP-UX
1827372 Members
4434 Online
109963 Solutions
New Discussion

Kernel Parameters information

 
Filosofo
Regular Advisor

Kernel Parameters information

Hello,
I would set the following parameters:
semmns 3825
semmsl 478 or 3820
msgmni 464
msgmap 928
shmseg 8003

I would know if this value are bad or raccomanded.
Thanks for helps

Filo




Sistem engeneer expert
7 REPLIES 7
Zafar A. Mohammed_1
Trusted Contributor

Re: Kernel Parameters information

Stefan Farrelly
Honored Contributor

Re: Kernel Parameters information

There should be no problem setting these kernel parameters to these values. We run many servers with similar values without problems.
Im from Palmerston North, New Zealand, but somehow ended up in London...
A. Clay Stephenson
Acclaimed Contributor

Re: Kernel Parameters information

Nothing is glaringly bad but this is utterly without context. This is a lot like asking is driving 60MPH / 100Km/Hr too fast. Unless one knows more about your configuration (hardware/software) then it's impossible to say.
If it ain't broke, I can fix that.
John Poff
Honored Contributor

Re: Kernel Parameters information

Hi,

Those settings are for your semaphores and your message queues. Typically those settings are driven by the applications running on the system, so if your application requires those setting you should be fine. If your kernel is already tuned with values higher than those, you in good shape. What application are you running?

JP
Bill McNAMARA_1
Honored Contributor

Re: Kernel Parameters information

This is a good doc:
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html

man kmtune also for info on how to set them, or simply use sam.

Later,
Bill
It works for me (tm)
Filosofo
Regular Advisor

Re: Kernel Parameters information

I have a SuperDome with 32 CPU and 6 GB of memory, I have a problem with tuxedo:

152938.h3mih189!trerodb.3588.1.0: LIBTUX_CAT:1285: WARN: tpreturn message send blocked, will try file transfer

and manual advise to set the parameters like I said above.
This is a list of parametrs values:

semmns 3825*32
semmsl 478*32 or 3820*32
msgmni 464*32
msgmap 928*32
shmseg 8003*32

Can I have some problems of shared memory If I set too large this parameters?

I hope that somebady can help my.

Thanks

Filo
Sistem engeneer expert
George Petrides_1
Honored Contributor

Re: Kernel Parameters information

You can find the answer here:
http://edocs.bea.com/tuxedo/tux71/html/inspre11.htm#1001587

"If the limit specified by any of these parameters is exceeded, then a blocking condition occurs. There is one exception to this rule: MSGMAX. Messages that exceed 75 percent of MSGMNB, or that are larger than MSGMAX, are placed in a UNIX file. A very small message containing the filename is then sent to the recipient. Because this mode of operation results in a severe reduction in performance, we strongly recommend that you avoid it."