User`s guide
  Advanced Tasks  187 
Managing Server Resources 
Parameters 
Parallels Server Bare Metal allows you to configure a number of resource management 
parameters defining the amount of resources to be allocated to the Parallels server. These 
parameters include all standard UBC parameters (VMGUARPAGES,  KMEMSIZE, 
OOMGUARPAGES, etc.) as well as the ONBOOT parameter. 
You can edit any of these parameters in the /etc/vz/conf/0.conf file on the server using 
your favorite text editor (for example, vi or emacs) or using the pctl set command and 
specifying 0 after this command. For example: 
# pctl set 0 --kmemsize 12211840:14359296 --save 
Saved parameters for Container 0 
This command sets both the barrier and limit values of unswappable kernel memory (in bytes) 
which can be allocated to internal kernel structures of the processes on the server. The specified 
parameter values will be in force until the server restart. If you wish these values to be applied to 
the server on its next booting, you should additionally set the ONBOOT parameter in the 
/etc/vz/conf/0.conf file to yes. This can be done in one of the following ways: 
  Passing the --onboot option to the pctl set command: 
# pctl set 0 --onboot yes 
Saved parameters for Container 0 
  Editing the /etc/vz/conf/0.conf file with your favorite text editor (e.g. vi) and 
setting the value of the ONBOOT parameter in this file to yes. 
Note: Detailed information on all resource parameters that can be changed in respect of your 
Parallels server is provided in the Parallels Command Line Reference Guide. 
If you have made a number of changes to server resource management parameters and wish to 
reset them to the values specified in the /etc/vz/conf/0.conf file, you can run this 
command: 
# pctl set 0 --reset_ub 
UBC limits were set successfully 










