System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Disable Resource Capping

There are three ways to disable resource capping on your system.

  1. Become superuser, or assume a role that includes the Process Management profile.

    The System Administrator role includes the Process Management profile. For information on how to create the role and assign the role to a user, see Managing RBAC (Task Map) in System Administration Guide: Security Services.

  2. Disable the resource capping daemon in one of the following ways:

    • Turn off resource capping using the svcadm command.


      # svcadm disable rcap
      
    • To disable the resource capping daemon so that it will be stopped now and not be started when the system is booted, type:


      # rcapadm -D
      
    • To disable the resource capping daemon without stopping it, also specify the -n option:


      # rcapadm -n -D
      

    Tip –

    Disabling the Resource Capping Daemon Safely


    Use rcapadm -D to safely disable rcapd. If the daemon is killed (see the kill(1) man page), processes might be left in a stopped state and need to be manually restarted. To resume a process running, use the prun command. See the prun(1) man page for more information.