Sun N1 Service Provisioning System 6.0 Installation Guide

Solaris 10 Configuration Requirements

In the Solaris 10 environment, the /etc/system settings are replaced by resource controls in the context of the user who owns the installation. The following table defines the minimum values:

Table 2–3 Solaris 10 Resource Controls Settings


Minimum Value 







ProcedureTo Determine If the Resource Controls Need to be Reset

  1. Determine the project ID.

    $ id -p
  2. Verify the current values of project.max-shm-memory, project.max-sem-ids, and process.max-sem-nsems.

    # prctl -P -n project.max-shm-memory -i project ID-of-sps-owner
    # prctl -P -n project.max-sem-ids -i project ID-of-sps-owner
    # prctl -P -n process.max-sem-nsems -i process $$

    Where ID-of-sps-owner refers to the owner of the provisioning system project. You can determine the owner of the project by checking the /etc/projects file.

  3. Set resource controls.

    If the current values do not meet the minimum settings required, you can use either the prctl command or the projmod command. Changes made with the prctl command are good only until system reboot. The projmod command should be used to make changes that persist across reboot.

    • Using the prctl command:

      # prctl -n project.max-shm-memory -v 536870912 -r -i project ID-of-sps-owner
      # prctl -n project.max-sem-ids -v 32 -r -i project ID-of-sps-owner
      # prctl -n process.max-sem-nsems -v 17 -r -i process $$
    • Using the projmod command:

      # projmod -a -K "project.max-shm-memory=(priv,512mb,deny)" default
      # projmod -a -K "project.max-sem-ids=(priv,32,deny)" default
      # projmod -a -K "process.max-sem-nsems=(priv,17,deny)" default