• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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