Limits

Reseller limits policy, and limits on use Plesk resources are specified by the limits node. This node is presented by the ResellerLimits type (reseller.xsd), and its graphical representation is as follows:

The following piece of code sets the limits overuse policy, and the maximum databases limit:

<limits>
   <resource-policy>
      <overuse>block/overuse>
   </resource-policy>
   <limit>
      <name>max_db</name>
      <value>100</value>
   </limit>
</limits>

 

Note: To manage limits policy and limits on Plesk resources usage, you should first retrieve limits descriptor (for a specified reseller) containing names of limits. For details, refer to the Retrieving Descriptor of Limits section.