Cannot open the website hosted in Plesk:
508 Resource limit is reached
/var/www/vhosts/system/example.com/logs/error_logcontains the following entries:
mod_hostinglimits: Error on LVE enter: LVE(10598) HANDLER(fcgid-script)
Subscription hit entry processes limit.
Entry processes limit restricts the number of concurrent connections to dynamic (PHP & CGI) scripts for the subscription user.
Adjust the limits for system user.
- Login to Plesk > Subscriptions > example.com and determine system user for the subscription:
Connect to the server via SSH as root;
- Determine the USER_ID:
# cat /etc/passwd | grep johndoe
Note: johndoe is the system user from step 1
Increase entry processes limit by running:
# lvectl set USER_ID –maxEntryProcs NEW_LIMIT –save
USER_ID – uid of the subscription user;
NEW_LIMIT – new maximum number of connections. Default value is 20.
# lvectl set 10008 –maxEntryProcs=50 -save
Remove the limits for the user, if increasing does not help:
# lvectl set 10008 –unlimited