Viking Software Solutions

LifeWorks: UnixWare IPC Information

Note: This information was provided by a sharp support person, Ruben Garcia [rgarcia@mail.npc.net], at one of our customers.

The LifeWorks Data Entry SRG specifies the parameter keywords of SEMMNS and SEMMNU which are not included in UnixWare 2.1.2, which has SEMOPM and SEMUME instead. Another customer was having difficulty attempting to adjust some of these values. The numbers illustrated may be much different than required at another site and the discussion is focused on how to change, rather than what number to use.

SHMSEG

If you change the SHMSEG parameter to 150 (/etc/conf/bin/idtune SHMSEG 150) a check is done that the new value is in the range described in  /etc/conf/cf.d/mtune.

You cannot increase the maximum value from 15 to 150 into the mtune file manually, because it is rebuilt every time.

The solution is to increase the value from 15 to 150 into /etc/conf/mtune.d/ipc and then change the parameter using “/etc/conf/bin/idtune SHMSEG 150”.

If you need to increase other parameters follow the same steps.

FLCREC

Edit file  /etc/conf/mtune.d/fs  — it should look like this:

            *ident  "@(#)/etc/conf/mtune.d/fs.sl 1.1 eiger 11/30/95 51834 NOVELL"
            *ident  "$Header: $"

            * Generic Filesystem Parameters -------
            FDFLUSHR        1       1       1200
            NAUTOUP         60      0       1200
            FLCKREC         300     100     4500
            RSTCHOWN        0       0       1
            NC_HASH_SIZE    64      64      256
            * Buffer Cache Parameters -------------
            NBUF            256     20      3000
            NHBUF           64      32      1024
            NPBUF           64      20      100
            NPGOUTBUF       16      1       100
            * Default root file system type -------
            ROOTFSTYPE      ""

Also check the file   /etc/conf/cf.d/stune. It look similar to the following:

              NUMREGPT        256
              NUMSCOPT        32
              ODIMEM_NUMBUF   0
              ODIMEM_MBLK_NUMBUF      0
              SHMMNI  140
              SHMSEG  150
              SHMMAX  133916
              SEMMNI  5896
              SEMMSL  239
              SEMUME  20
              MSGMAX  512
              FLCKREC 4500
              MAXUP 250

Finally, you should be able to rebuild the kernel using “/etc/conf/bin/idbuild -B”