• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

disable "allow overuse"

A

Ali Raza

Guest
How I disable "allow overuse" for all 900 domains at once?
 
Hi,

You can use the CLI utility for that -- domain_pref with "overuse" option. Here's the guide:
http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.2-unix-cli/index.htm?fileName=37982.htm

List of all domain for script you can get, for instance, from the "domains" table in plesk database.

Something like this should get the job done in one command:

mysql -Ns -uadmin -p<plesk_admin_password_here> psa -e "select name from domains" | awk '{printf("/usr/local/psa/bin/domain_pref --update %s -overuse block\n", $1)}' | sh
 
Back
Top