Plesk

Cannot open website hosted in Plesk: 508 Resource limit is reached

Symptoms

Cause

The subscription hits the entry processes limit in the LVE configuration.

Entry processes limit restricts the number of concurrent connections to dynamic (PHP & CGI) scripts for the subscription user.

Resolution

Adjust the limits for system user:

  1. Log in to Plesk.

  2. Go to Subscriptions > example.com and determine the system user of the subscription:

  3. Connect to the server via SSH as root.

  4. Determine the USER_ID, e.g. 10008:

    # grep -i "johndoe" /etc/passwd
    johndoe:x:10008:1003::/var/www/vhosts/example.com:/bin/false

    Note: johndoe is the system user from step 2.

  5. Increase entry processes limit by running:

    # lvectl set 10008 –-maxEntryProcs=50 –save

    Where:

    • 10008 - uid of the subscription user;
    • 50 - new maximum number of connections. The default value is 20.

    Or remove the limits for the user completely:

    # lvectl set 10008 --unlimited

Exit mobile version