Technical article 110836

OpenServer 5, How to change the Semaphore Kernel Parameters.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

I am trying to change the value for some semaphore or shared memory kernel parameters but do not see them in the system tuner GUI or the /etc/conf/cf.d/configure utility. How do I change these values?

Cause

Certain semaphore shared memory and system parameters are not tunable using configure(ADM) or the system tuner GUI. You must use the idtune(ADM) command instead.

Solution

The idtune utility is located in /etc/conf/bin and takes the parameter name and new value as arguments. For example, if you were trying to set SEMMNS to 200, you would enter the commands:

# cd  /etc/conf/bin
# ./idtune  SEMMNS  200

The idtune command will update the parameter's value in the /etc/conf/cf.d/stune file. If there is already a value for the parameter name in the stune(F) file, you are normally asked to confirm the change with the following message:

Tunable Parameter name is currently set to old_value.

Is it OK to change it to value? (y/n)

If you answer "y", idtune makes the change. Otherwise, the tunable parameter is not changed, and idtune displays this message:

name left at <old_value>

idtune does not check whether the specified value lies between the minimum and maximum values defined in mtune. Take care not to invalidate a tunable parameter that was modified earlier (perhaps by another add-on package), or set a value that is outside the minimum and maximum values allowed by the mtune(F) file.

In order for any changes in the values of kernel parameters made by idtune to become effective, you must relink the UNIX system kernel and reboot the system.

The kernel can be relinked with the following commands:

# cd  /etc/conf/cf.d
# ./link_unix

See also

Manual pages: idtune(ADM), stune(F), mtune(F)
SCO OpenServer Performance Guide

From the Xinuos technical article database, record 110836. Reproduced with permission. The original is at www.sco.com/ta/110836, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.