Message queues on HP-UX

The following settings are recommended:

msgssz  32     Message Segment Size
msgmnb  65535  Max Number of Bytes on Message Queue
msgmax  65535  Message Max Size (bytes)
msgseg  16384  Number of Segments Available for Messages
Set these values by using the SAM utility:
  1. Type sam at the command prompt.
  2. Select Kernel Configuration, Configurable Parameters.

    This displays a list of kernel parameters that you can change.

  3. Select a parameter, either by clicking on it with the mouse or by moving the cursor to it and pressing the enter key.
  4. Select Actions,Modify configurable parameter.
  5. Enter the new value for the parameter in the Formula/Value field, and then select OK.

    If the value you entered is not valid, SAM displays a window explaining the error.

  6. When you have made all of the required changes, select Actions, Process New Kernel.

    SAM displays a window asking for confirmation; select Yes.

SAM then compiles the kernel and displays a window asking if you want to replace the old kernel before restarting the system. You must restart the system for the changes to take effect.