Cannot open website:
CONFIG_TEXT: 508 Resource limit is reached
/var/www/vhosts/system/example.com/logs/error_logcontains the following entries:
CONFIG_TEXT: mod_hostinglimits: Error on LVE enter: LVE(10598) HANDLER(fcgid-script)
PHP is run as FastCGI application served by Apache;
OS is CloudLinux.
This happens due to subscription hitting entry processes limit. Entry processes limit restricts the number of concurrent connections to dynamic (php & cgi) scripts for the subscription user. Otherwise, one site could use up all Apache slots, and cause all the sites to go down.
Connect to the server via SSH;
Increase entry processes limit by running:
Warning: To run the command, root access is required!
# 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.