Limits policy, and limits on use the Plesk resources for resellers created with a reseller plan are specified by the limits node. This node is presented by the ResellerLimits type (reseller.xsd
), and its graphical representation is as follows:
block | notify | normal | not_suspend | not_suspend_notify
. The values have the following meaning:block. Block overusing resources. Actual resource usage cannot exceed the initial resource allocation.
notify. When limit on usage of a resource provided with the subscription is reached, send e-mail according to server notification settings.
normal. Overuse is allowed; suspend a reseller when their disk space or traffic usage reaches the limit.
not_suspend. Overuse is allowed; do not suspend a reseller when their disk space or traffic usage reaches the limit.
not_suspend_notify. Overuse is allowed; do not suspend a reseller when their disk space or traffic usage reaches the limit, send e-mail according to server notification settings.
plesk_common.xsd
).Note: You can specify multiple limit parameters within one limits node.
The following code example 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 for reseller plans, you should first retrieve limits descriptor that contains names of limits. For details, refer to the Managing Subscriptions > Retrieving Descriptor of Limits section.